DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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 04: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, 07:27 AM
  2. Heap Clearing
    By joshyravi in forum Java
    Replies: 1
    Last Post: 06-19-2005, 09:08 AM
  3. How do I increase Java Heap Space?
    By srekcus in forum Java
    Replies: 2
    Last Post: 06-19-2005, 02:36 AM
  4. Replies: 0
    Last Post: 12-13-2001, 12:06 PM
  5. Replies: 0
    Last Post: 06-23-2000, 02:17 PM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links