Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2011

    OutOfMemoryError nativeInitEmptyPixmap

    i want to ask, have any one get "OutOfMemory nativeInitEmptyPixmap" error? what's that error means?
    i have a photo filtering application, when i try in C2 device its work perfect, but, when i try in c3 and x2 device, it's always give that out of memory error... but, the error occur in different situations, sometime when i type photo title, sometime when i go back, sometime when i am filtering photo...

    Can anyone help me?

    Thanks a lot..

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2011

    Re: OutOfMemoryError nativeInitEmptyPixmap

    Hi elisafina1205,

    It is quite possible that a memory allocation for an image operation causes an out of memory error in Series 40, due to the limited available heap space.

    With the exception of C2-00, that has a heap memory size of 1MB, all C2-XX, C3-XX and X2-00 devices have the same heap sizes, i.e. 2MB. So in that sense I would expect the same error you encountered in C3-XX and X2-00 devices, to be thrown also on any C2-XX device. Could it be that you not performing the same operations on the same image (with the same image size)?

    There is not so much that you can do when the heap memory is consumed, only try to avoid loading large images in the heap, or you can use a Content Handler to display the image in the device's native application. More info here:

Similar Threads

  1. OutOfMemoryError
    By ArenaInteractive in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2011-08-16, 17:23
  2. OutOfMemoryError
    By prithwi in forum Audio
    Replies: 1
    Last Post: 2009-07-09, 09:28
  3. OutOfMemoryError
    By prithwi in forum VoIP
    Replies: 0
    Last Post: 2009-06-26, 16:22
  4. OutOfMemoryError!!
    By jules_ in forum Mobile Java General
    Replies: 13
    Last Post: 2009-06-04, 15:43
  5. OutOfMemoryError
    By manojkumar.m in forum Mobile Java General
    Replies: 10
    Last Post: 2008-10-24, 11:47

Posting Permissions

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