×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Exclamation 6630 Heap Problems

    Hello,
    I am reading 640x480 images from file system using jsr75 and converting it to an image. then I convert the image to a thumbnail Image about 56x41 and stuff them into a vector; I don't keep the 640x480 image around. After repeating this process about 10 times, stuffing each thumbnail into a vector, I read another 640x480 from file system but I get an out of memory error. I don't understand why i am getting out of memory error because I'm not keeping the 640x480 image, i'm only keeping the 56x41 thumbnail image of it in memory. what is wrong? I call System.gc() to free up the 640x480 image after I create thumbnail so I shouldn't be running out of heap.

    What is wrong? any idea?

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: 6630 Heap Problems

    Hi,

    Try to locate where the memory leak mainly happens, you could use Runtime.getRuntime().freeMemory(); for locating the memory leak..

    regards
    Gopal

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. Java Heap Size on Nokia 6630
    By hvogeler in forum Mobile Java General
    Replies: 4
    Last Post: 2005-09-04, 18:20
  3. MMAPI 6630 problems
    By lauradepablo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-06-24, 16:02
  4. 6630 Call & Sms problems
    By sgreid101 in forum Mobile Java General
    Replies: 0
    Last Post: 2005-06-02, 15:16
  5. 6630 and install problems
    By audunholme in forum Mobile Java General
    Replies: 1
    Last Post: 2004-12-09, 22:25

Posting Permissions

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