×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    2

    URGENT !!! Memory leak on Nokia 6630!

    Recording audio on a 6630 causes a memory leak of about 20KB for each recording. Here is the snippet:

    recordControl.setRecordStream(byteArrayOutputStream);
    recordControl.startRecord();
    Thread.currentThread().sleep(500);
    recordControl.stopRecord();
    recordControl.commit();
    // do some stuff with the byteArrayOutputStream
    byteArrayOutputStream.reset();

    I also observed that starting a new thread causes the same memory leak. When recordControl.startRecord() is called, the system starts a new thread for the recording process and stops the thread when calling recorder.commit(). So I guess that starting threads is the main problem.
    I monitored the memory with DevMan.
    The firmware version of the device is 3.45.110.

    Is there a workaround available? Is this issue resolved with a firmware update?
    Last edited by ralfjanzen; 2005-05-06 at 22:17.

Posting Permissions

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