File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Simple question 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 » Beginning Java
Bookmark "Simple question" Watch "Simple question" New topic

Simple question

Manny Garcia

Joined: Apr 04, 2007
Posts: 28
I know that a java application has it's "sandbox" of memory allocated for it but what happens when an app uses up all of this memory? Does it freeze up, start using virtual memory, or something else?


Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
Usually the JVM throws an OutOfMemoryError.
I agree. Here's the link:
subject: Simple question
Similar Threads
object references and memory space requirements
JVM memeory allocation
WA #1.....word association
Concurrent user testing - File Upload
Java Heap Space Error, OutofMemory Exception while writing large data to excel sheet.