The Artima Developer Community
Sponsored Link

Java Answers Forum
JVM memory allocation

1 reply on 1 page. Most recent reply: Jul 13, 2005 12:45 PM by Antonio

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

JVM memory allocation Posted: Jul 13, 2005 8:31 AM
Reply to this message Reply
Advertisement
How much of a machines memory is the JVM
allocated by default? Reason I'm asking
is coz before today, I din't think it was
possible to write a Java Program that could
crash an entire Linux OS. I was curious
and tried to re-run the program after
re-booting (it froze the entire system,
couldn't even go to my F2 screen), after
rebooting, the program crashed and froze
a few other applications but not the
entire system.

Just wondering how much is the Runtime
environment allowed to use (is it allowed
to hog all resources)?

Its a thread rich application.

Anyways, just a passing Q - more so
out of curiosity than need.


Antonio

Posts: 33
Nickname: arhak
Registered: Jul, 2005

Re: JVM memory allocation Posted: Jul 13, 2005 12:45 PM
Reply to this message Reply
Have you see the Java2D demo?
In that demo they monitor (and visualize) de VM memory allocation and CPU consuming.
I think that is a nice starting point.

Flat View: This topic has 1 reply on 1 page
Topic: Playing & recording wave files using JTAPI Previous Topic   Next Topic Topic: Applets vs. Pure Swing Applications Searches

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use