aspose file tools*
The moose likes Performance and the fly likes Threshold of Memory Consumtion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Threshold of Memory Consumtion " Watch "Threshold of Memory Consumtion " New topic
Author

Threshold of Memory Consumtion

Rajneesh K Rajput
Greenhorn

Joined: Nov 14, 2009
Posts: 10
What threshold of memory consumtion can make a java process resulted in non responsive mode?

This could be tricky, as obviously something wrong either a memory leak or insufficient memory, but still is there a way to decide a memory consumption threshold so that a service or process can be killed manually before a level of non-responsive mode due to memory usage increasing gradually.

Any thoughts?

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
In my experience, Java programs becoming non responsive has nothing to do with memory consumption and everything to do with Threads getting stuck in loops or waiting for unavailable resources.

Using large amounts of memory might result in the operating system thrashing as it pages memory to disk, but that is slow, not unresponsive and depends on the operating system, available real memory, other processes, etc.

Actually running out of memory will of course throw an error.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Threshold of Memory Consumtion
 
Similar Threads
liferay installation issue
How to prevent users from entering HTML/JavaScript?
OutOfMemoryError for Images
Is this computer powerful enough to deveolope applications with XCode?
Memory Problem