Tom's Hardware > Forum > Motherboards & Memory > Memory > Memory leak or something else?..

Memory leak or something else?..

Forum Motherboards & Memory : Memory - Memory leak or something else?..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Hello,
I work for a retail company that has an application that is based on java. The machines that the program is installed on are very low end: 1 GHZ processor, 256 MB ram. After 2 -3 days of the program running, it (the program) begins to become unresponsive. From what I’ve read this is a memory leak. Am I correct? Will adding memory stop or atleast delay this problem?

So will increasing the memory from 256 MB to 1 Gig have an effect on how long before this sets in? Will it push it from 2 – 3 days to 6 – 7 days or more? Is there a way to tell how long it will take before it becomes unresponsive? Thank you for any assistance you may provide. :hello:

Sponsored Links
Register or log in to remove.

Anonymous wrote :

Hello,
I work for a retail company that has an application that is based on java. The machines that the program is installed on are very low end: 1 GHZ processor, 256 MB ram. After 2 -3 days of the program running, it (the program) begins to become unresponsive. From what I’ve read this is a memory leak. Am I correct? Will adding memory stop or atleast delay this problem?

So will increasing the memory from 256 MB to 1 Gig have an effect on how long before this sets in? Will it push it from 2 – 3 days to 6 – 7 days or more? Is there a way to tell how long it will take before it becomes unresponsive? Thank you for any assistance you may provide. :hello:



You're asking a question that's tough to answer without more details. Any number of reasons can cause a machine to become unresponsive over time. If it's windows, run taskmgr.exe and see which resource you are running out of. If it's linux, run top for the same reason.

It's possible that you've run out of virtual memory without running out of physical memory. Or you could have your CPU pegged at 100. Or your machine has malicious software taking up cpu or memory.

Adding memory won't hurt, but it may or may not help.

Reply to bliq

Hi bliq,

It always happens around the 2 - 3 day mark, so I can rule out malicious software and an overloaded cpu. There aren't too many programs running, so that can't be it. Up until the second or third day, it's fine, then it's slow to react unless the program is restarted. I'd like to reiterate that it's not the pc, just this one program that gets bogged down over time.

Does any of this shed any light on the subject?

Reply to Anonymous

Run a Memory Test on Your Memory'...See if it pops up any Errors adding memory always helps but like Bliq said it might not fix the actual problem.'..Could be a software it self that might have the problem ..do you have a spare Cpu..u can run that program on for a couple of days and see if it jams up or slows down..? is this program very memory demanding? how much memory is the program sucking up after the three day period..?


Message edited by Rock2292 on 09-20-2008 at 10:28:42 PM
Reply to Rock2292

Its hard to analyze/assume if its really a memory leak issue or not. If it is memory leak, Adding memory will fix it if your program and OS is designed to run a bigger memory space.

If the "apparent shortage of space" due to memory leak is not that big above 256meg then increasing to 1Gig should eliminate the problem.

Your compute is switching to the SWAP space on the drive once the available memory is insufficient.


Memory leak is common to any computer base environment. I see it in Windows and Unix OS. I have not had a case that the entire memory space is lost due to memory leak issue. So hopefully increasing your memory to 1 gig will eliminate your problem. On the otherside i don't have an idea of your application so there is no 100% assurance that it will eliminate it.

I had applications that runs for 6 months(from start to completion) and observed memory leak issues. But it does not kill the entire job. Additional space due to memory leak don't significantly consume a lot of space.

At 256Meg of Memory you really need to increase your memory. Rams are cheap these days.


Hope this helps...



------------------------------ Q6600: Maximus Formula: Zalman 9700LED8GByte: Crucial Ballistics 4-4-4-12: PC6400; Vista Ultimate-64BFG XOC 4890; Disp: 70 Inch HDTV: Hauppage 2250 HDTV Tuner1.4TByte: 2x750Gbyte; RAID0; Case: Antec 900: PS:Antec Quatro 850
Reply to leon2006
Tom's Hardware > Forum > Motherboards & Memory > Memory > Memory leak or something else?..
Go to:

There are 1129 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them