Windows XP Community - XPHeads



Does Windows have a memory limitation for each program

microsoft.public.windowsxp.hardware


Reply
  #1 (permalink)  
Old 02-21-2008, 07:01 PM
Brian R
 
Posts: n/a
Does Windows have a memory limitation for each program
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-21-2008, 08:22 PM
Jerry
 
Posts: n/a
Re: Does Windows have a memory limitation for each program
Do a Google search on BOOT.INI - there are switches that can be used in
boot.ini they may help you with your problem.

"Brian R" <BrianR@discussions.microsoft.com> wrote in message
news:12D1F4E8-DA50-4EE7-954C-D3C970B81C4A@microsoft.com...
>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?



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:57 PM
John
 
Posts: n/a
RE: Does Windows have a memory limitation for each program
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

"Brian R" wrote:

> 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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-22-2008, 07:55 AM
VanguardLH
 
Posts: n/a
Re: Does Windows have a memory limitation for each program
"Brian R" <BrianR@discussions.microsoft.com> wrote in message
news:12D1F4E8-DA50-4EE7-954C-D3C970B81C4A@microsoft.com...
>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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:27 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74