Does Windows have a memory limitation for each program

B

Brian R

I have a memory leak in a program we have developed in-house. This leak
eventually [after 20+ hours of running] causes the program to lockup on a
frame grabber function. The PC had 512M of RAM and I setup virtual memory to
be 4G. When the program locks up, Task Manager shows PF usage of around 1.3GB.
Looking for a quick solution, I upgraded to 2G of RAM and left the virtual
memory setting at 4G however this did not change the situation. When the
program locks up, Task Manager still shows PF usage of 1.3GB.
As an experiment, I opened up multiple instances of Internet Explorer with
very large XML files. This allowed me to get the PF usage beyond 1.3 GB. I
then would run the portion of the program that calls the frame grabber
function that normally locks up but it did not lock up. In fact it didn't
lock up until I approched the maximum 4GB. Thus I am wondering if Windows has
a per application memory limit and, if so, is there a way to increase this
limit?
 
J

Jerry

Do a Google search on BOOT.INI - there are switches that can be used in
boot.ini they may help you with your problem.
 
J

John

The best solution is to talk to the developer, and have him or her fix the
memory leak, increasing memory and pagefile are only bandage to fixes.

Thanks
 
V

VanguardLH

Brian R said:
I have a memory leak in a program we have developed in-house. This
leak
eventually [after 20+ hours of running] causes the program to lockup
on a
frame grabber function. The PC had 512M of RAM and I setup virtual
memory to
be 4G. When the program locks up, Task Manager shows PF usage of
around 1.3GB.
Looking for a quick solution, I upgraded to 2G of RAM and left the
virtual
memory setting at 4G however this did not change the situation. When
the
program locks up, Task Manager still shows PF usage of 1.3GB.
As an experiment, I opened up multiple instances of Internet
Explorer with
very large XML files. This allowed me to get the PF usage beyond 1.3
GB. I
then would run the portion of the program that calls the frame
grabber
function that normally locks up but it did not lock up. In fact it
didn't
lock up until I approched the maximum 4GB. Thus I am wondering if
Windows has
a per application memory limit and, if so, is there a way to
increase this
limit?


Fix the leak. It is an in-house program so use the in-house
programmer to plug the leak. Adding more memory won't fix the
problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top