DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: limiting memory  (Read 8,010 times)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
limiting memory
« on: February 28, 2007, 04:27 AM »
I was wondering if some one knew of a program that would limit the amount of memory and virtual memory a program is allowed to use? I have a program that I run, and it can get up to like almost a gig of virtual memory, and like 7 or 8 hundred mb of regular memory, and I wanted to limit this, that way maybe I can use my computer more better. Please and thank you.
[Insert really cool signature here]

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: limiting memory
« Reply #1 on: February 28, 2007, 01:14 PM »
Well.. Even if such program existed, what would happen would be that you wouldn't be able to use the program you mentioned, since it'd run out of memory and give a "out of memory" error, i suppose.
So, no real use for such thing.
Or am i wrong?  :-[

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: limiting memory
« Reply #2 on: February 28, 2007, 02:47 PM »
... it can get up to like almost a gig of virtual memory, and like 7 or 8 hundred mb of regular memory, and I wanted to limit this, ...

700 - 1000 MB??!! I too would like to 'limit' such a powersucker; I would never run it! (I don't even have that much RAM.)

If you really wanna keep such a millstone around your neck, my penny would be that you change the Priority in Windows Taskmanager to Below Normal. It won't bring you more RAM, but should give the other apps a chance to do their work anyway, I guess.
« Last Edit: February 28, 2007, 02:50 PM by Curt »

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 738
Re: limiting memory
« Reply #3 on: February 28, 2007, 05:00 PM »
Well.. Even if such program existed, what would happen would be that you wouldn't be able to use the program you mentioned, since it'd run out of memory and give a "out of memory" error, i suppose.

I thought some programs were written to exploit all available memory, so you could limit them without making the program not run.  I seem to recall reading that some Adobe programs do it, though I might be mistaken.

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Re: limiting memory
« Reply #4 on: February 28, 2007, 10:04 PM »
... it can get up to like almost a gig of virtual memory, and like 7 or 8 hundred mb of regular memory, and I wanted to limit this, ...

700 - 1000 MB??!! I too would like to 'limit' such a powersucker; I would never run it! (I don't even have that much RAM.)

If you really wanna keep such a millstone around your neck, my penny would be that you change the Priority in Windows Taskmanager to Below Normal. It won't bring you more RAM, but should give the other apps a chance to do their work anyway, I guess.
I have a gig of ram, and I have a 3g pagefile on my second hard drive. I think I had at one time changed the priority, but I don't think that helped much when it was using almost all my ram, and 300mb of my VM, by then my computer was so slow I was about to pick it up and throw it at the wall.
[Insert really cool signature here]

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: limiting memory
« Reply #5 on: February 28, 2007, 11:38 PM »
, by then my computer was so slow I was about to pick it up and throw it at the wall.

I know that feeling.

I used to have 320 MB RAM, 500 MHz.
- and living on 7'th floor I was tempted VERY often: Can it fly?

And by now I still have only 520 RAM, and they are even divided with 64 MB to the video card, leaving me with only a little more RAM than on the old machine!

But on the other hand this is 3.33 GHz, so the handling power is much better.

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 738
Re: limiting memory
« Reply #6 on: March 01, 2007, 12:03 AM »
If I threw my PC at the wall every time it bogged down...

I'm running a 866mhz P3 with 512mb of ram.  And I use VMServer regularly  :huh:

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: limiting memory
« Reply #7 on: March 01, 2007, 12:10 AM »
I'm running a 866mhz P3 with 512mb of ram.  And I use VMServer regularly  :huh:
Masochist :o

...but then, I used to run vmware on an athlon700/512meg :)
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=7605.0