×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    2

    SUDDENLY ... Uncaught exception java/lang/OutOfMemoryError

    Hi i have been using ncf and s40 5th edition sdk for a while developing a bluetooth J2me application

    Suddenly i have been getting this error. The mobile phone code hasnt changed and works fine when uploaded to a phone. But the emulator hates it and throws this exception with no extra info, ive tried to catch it and get the trace butr gives nothing.

    any help?

    how can i increase the emulator memory?

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    2

    Re: SUDDENLY ... Uncaught exception java/lang/OutOfMemoryError

    Ok it seems that its because i am loading some images into variables of type Image which i am using for displaying

    i am using 12 image files, if i comment out a copule i dont get the error. So it because of this.

    so i reduced the size of the files by reducing the resolution to about 2/3 of the original size but doesnt seem to make any difference! should the file size make a difference?

    Thanks
    Ben

Similar Threads

  1. help!! S60 Uncaught exception!
    By huoyanjingjing in forum Mobile Java General
    Replies: 4
    Last Post: 2008-08-03, 22:25
  2. s60 3rd ed emulator crash
    By Kimau in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-18, 22:12
  3. Replies: 2
    Last Post: 2007-09-18, 08:47
  4. VS.Net 2003 Carbide 2.01 and epoc32.exe
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-12, 12:31
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×