Problem with java.lang.OutOfMemoryError: Java heap space


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Problem with java.lang.OutOfMemoryError: Java heap space

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    2

    Problem with java.lang.OutOfMemoryError: Java heap space

    I have problem with my editor application. When i load a big size of file (>9mb), an error message appear "java.lang.OutOfMemoryError: Java heap space". I use JTextArea. Can someone give me solution to solve this problem? Because i can't solve that, i just give warning message if a big size of file loaded. Thank's..

  2. #2
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    There are some heap size switches which you can use for the JVM - when you launch your program. Look at http://java.sun.com/j2se/1.5.0/docs/...dows/java.html
    for help with the java switches.
    Last edited by nspils; 11-06-2005 at 05:50 PM.

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    Thank's for your information...

Similar Threads

  1. word macro problem : No reply
    By namella in forum Mobile
    Replies: 0
    Last Post: 08-25-2005, 08:27 AM
  2. Heap Clearing
    By joshyravi in forum Java
    Replies: 1
    Last Post: 06-19-2005, 10:08 AM
  3. How do I increase Java Heap Space?
    By srekcus in forum Java
    Replies: 2
    Last Post: 06-19-2005, 03:36 AM
  4. Replies: 0
    Last Post: 12-13-2001, 01:06 PM
  5. Replies: 0
    Last Post: 06-23-2000, 03:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center