Results 1 to 4 of 4
  1. #1
    bj2me is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Question OutOfMemoryError

    Hi there.I am not experianced programmer in java but i have great interest in java and now i am doing mobile application using j2me technology by neatbeans 6.0.1.and the problem i faced is as follows.my application was running with out any problem at the beginning but when its size becomes 34KB it stops respond by saying."Uncaught exception java/lang/OutOfMemoryError: Maximum byte code length (32kB) exceeded ".
    1.Is there any solution for this please help?
    2.is it not possible to write an application whose size is greater than 32KB in neatbeans?please please this is my first post in this forum and urgent.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    NetBeans don't have such a imitation. Something is wrong with your application. Can you post the complete message here to see.

  3. #3
    sp_29 is offline Member
    Join Date
    Feb 2009
    Location
    philippines
    Posts
    16
    Rep Power
    0

    Default

    of course, you must not exceed in the 32kb because it will really cause out of memory. try to limit your codes

  4. #4
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default This is too much...

    sp_29... please stop placing nonsense posts through out the forum. It's a good way to get yourself banned...

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. Ant fileset java.lang.OutOfMemoryError
    By 1inmillion in forum Advanced Java
    Replies: 0
    Last Post: 12-23-2008, 04:27 PM
  2. OutOfMemoryError: heap space (SJSAS PE 8.2 u4)
    By mikamj in forum Advanced Java
    Replies: 0
    Last Post: 11-21-2008, 07:37 AM
  3. java.lang.OutOfMemoryError
    By new_2_java in forum New To Java
    Replies: 2
    Last Post: 11-01-2008, 05:12 AM
  4. java.lang.OutOfMemoryError
    By vidhya.sk in forum New To Java
    Replies: 2
    Last Post: 09-18-2008, 12:21 PM
  5. OutOfMemoryError
    By javaplus in forum New To Java
    Replies: 2
    Last Post: 11-11-2007, 07:44 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
  •