Maximum use of RAM with one program

Landyman

New member
Local time
8:49 AM
Messages
11
I am running Windows 7 Professional 64-bit with 4GB of RAM (3.87GB useable) with an Intel i5-3320m at 2.60Ghz.

I have started to use a different program for digital moving map display. The previous one could only display one map at a time, but the new one can overlay multiple maps. However it keeps reporting "Insufficient main memory" in a panel titled "DAVINCI grafikbibliothek", when adding more than three maps.

A Google brings up in German language information about 'DaVinci 4 : Quick Start Delphi' when translated. But the current version of the program is developed within Visual Studio 2013 and Xamarin.

I know that 32-bit W7 can only use 2GB of RAM, but as I'm using W7 64-bit, I should be able to increase my existing 4GB of RAM. But will this increase the memory available to the program, which is only 32-bit?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Vostro & Panasonic Toughbook
OS
7 Home 64 & 7 Pro 64
Who told you W7 32 bit can only use 2 GB ram ?

It can use 3.5 to 3.75.

If your motherboard supports more then 4 GB of memory then by all means, add as much as you can afford.

Post a manufacturer`s link to the motherboard, we can then research :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
By default a 32 bit process has a 2 GB virtual address space. If the process is Large Address Space Aware (most are not) and running on a 64 bit OS this will become 4 GB. Unless the process is using special methods (most do not) a 32 bit process will normally be limited to about 2 GB RAM but will typically use substantially less.

A shortage of RAM rarely causes problems other than a loss in performance. Error messages usually mean exhaustion of process virtual address space or reaching the commit limit. The "Commit (MB)" item in Task Manager will show the current commit and the commit limit. With default pagefile configuration that is unlikely to occur but it sometimes happens when changes are made.

If the problem is exhaustion of the process address space there is very little you can do. This problem is the primary reason why 64 bit operating systems were developed. A 64 bit will potentially provide each process a 8 TB address space (independent of RAM size) but only native 64 bit applications can take advantage of that.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Who told you W7 32 bit can only use 2 GB ram ?

It can use 3.5 to 3.75.

If your motherboard supports more then 4 GB of memory then by all means, add as much as you can afford.

Post a manufacturer`s link to the motherboard, we can then research :)

Sorry confusion with user-mode virtual address space for each 32-bit process, as seen on a Microsoft web page.

I need to have more memory available to a single 32-bit program, not to all programs.

The PC is a Panasonic Toughtbook CF-53, running 64-bit OS.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Vostro & Panasonic Toughbook
OS
7 Home 64 & 7 Pro 64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
Is your program 32bit? Running on 64bit windows? If so there's a patch available to allow it to use up to 4Gb Virtual Memory instead of 2Gb but I've never actually found a program that needed patching (ran out of memory)

NTCore's Homepage - not recommended except for test purposes for advanced users. For more info See: LMiller7's post below

Also how have you set your page file?
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
Regarding the patch mentioned in post #6.

In theory any application could have a virtual address space of 4 GB on a 64 bit OS. The problem is that many of these have issues that would cause them to malfunction in a 4 GB address space environment. The application developer may or may not be aware that the application has these problems. For that reason 32 bit applications are given a 2 GB address unless they explicitly indicate to the OS that they are compatible with the larger address space. If that is the case we can reasonably assume that the application developer is aware of the potential problems and has taken the necessary steps to avoid them. Unfortunately that isn't always the case.

The patch does not make the application compatible as that is something only the application developer can do. What it does do is mark the application as "Large Address Space Aware", indicating that it is compatible. The problem is that you may be forcing the application to lie about it's capabilities. In that case results are unpredictable but tend to be unpleasant. Many applications WILL fail if this is done.

If you use the patch be sure you are aware of the risks. If you are lucky the application will immediately crash if not compatible. If you are not so lucky it may silently corrupt your data. Or the application may work fine most of the time but fail only under specific, possibly rare, conditions.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Many thanks LMiller7 for your two most informative postings. I had been searching the internet for more information as my own knowledge of computer hardware and software is much like me - getting rather old! I'm now retired after starting in the PC business in 1978. Unfortunately there is so much incorrect information available.

As an example; I've read that on a 64-bit OS, page file swap to disk had gone.

I will contact the program's author, but expect that he won't be producing a 64-bit version. So no reason to increase RAM.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Vostro & Panasonic Toughbook
OS
7 Home 64 & 7 Pro 64
Back
Top