Solved

Increase 32-Bit Process memory at 64-Bit OS

Posted on 2016-11-04
11
26 Views
Last Modified: 2016-11-23
Dear Concerned.

In need to increase 32-bit process memory (executable exe) at 64-Bit OS. Please help to provide the steps.


Regards,
Naveed
0
Comment
Question by:NOS-NetSol
  • 4
  • 4
  • 3
11 Comments
 
LVL 92

Accepted Solution

by:
John Hurst earned 250 total points (awarded by participants)
ID: 41873927
Any process will use as much memory as it can and needs. Make sure your host 64-bit machine has adequate memory. 8 GB is good for most applications.

32-bit applications have natural limits in the architecture of the application. So 32-bit Excel cannot handle the same size of spreadsheet as 64-bit Excel. There is nothing you can do about this.
0
 

Author Comment

by:NOS-NetSol
ID: 41873949
i have executable exe that runs and it reaches 1.8GB memory after it prompts stopworking. now i want tu upgrade it  >2GB. Furthermore system has adequate memory.
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 41873969
You have to change the insides of the EXE (program code). That is about the only way you can do this.
0
 
LVL 24

Assisted Solution

by:Dr. Klahn
Dr. Klahn earned 250 total points (awarded by participants)
ID: 41873985
There is a fixed 2 GB limit of memory for all 32-bit Windows applications, with the sole exception being a 32-bit application that (a) is running in a 32-bit operating system which has the non-standard /3GB switch applied to boot.ini, and (b) the image (executable) was compiled and linked with the UMAGE_FILE_LARGE_ADDRESS_AWARE flag set.

So:  In a 32-bit operating system in the non-standard /3GB configuration the maximum memory available to a 32-bit process is 3 GB.  In all other environments, including the 64-bit servers, it is 2 GB.

If the application is using 1.8 GB, that is a mere 200 MB away from the 2 GB limit.  That being the situation, it doesn't seem likely that another 200 MB will solve the memory issue.  Further, if it did it would be a brief solution as the workload expands (Parkinson's law!) to use the additional 200 MB of memory and then you'd be up against the 2 GB limit again.

See the Microsoft commentary on 32-bit and 64-bit process memory limits.
0
 

Author Comment

by:NOS-NetSol
ID: 41873988
You mean to say that we have to upgrade our application from 32 to 64-Bit then it will use use the memory  beyond 2 GB.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 92

Expert Comment

by:John Hurst
ID: 41873991
Yes, you must upgrade to a 64-bit application to use more memory. That is what I noted above about Excel as an example.
0
 

Author Comment

by:NOS-NetSol
ID: 41874000
Thanks Klahn,

any idea about compilation of application with "IMAGE_FILE_LARGE_ADDRESS_AWARE option?
0
 
LVL 24

Expert Comment

by:Dr. Klahn
ID: 41874003
That's correct.  The only way to get more than 2 GB to a 32-bit application is to use 32-bit Windows in a non-standard configuration and recompile the program.  Unless you have the program source recompilation is not an option -- and you would still be stuck with a 3 GB limit.

If you do have the source then you should recompile the program as a 64-bit application.  Then it can run in native mode on a 64-bit system and use significantly more memory.
0
 

Author Comment

by:NOS-NetSol
ID: 41874016
as per above discussion. now I have only one is to upgrade our application at 64bit architechture then it will use more than 2 gb memory. am I right?
0
 
LVL 24

Expert Comment

by:Dr. Klahn
ID: 41874025
Correct.
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 41898875
Question was answered properly. System must be upgraded.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
finding who created AD 4 67
SPAM and Ransomware and Backup 11 89
Renaming multiple file extensions using Powershell 4 37
More Than One Website On Same DMZ Server 3 53
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now