Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User sgreenhill's Avatar
    Join Date
    Nov 2007
    Posts
    16
    Hi,

    I'm getting "Memory Full" errors after recording a few minutes of audio, despite the fact that the target device (a 2GB SD Card) is mostly free.

    It looks like MMAPI records to the phone's internal memory until commit() is called, when the recording is copied to the target stream. With only 8Mb free phone memory, this is going to be pretty limiting. :-(

    Is there a way to use the memory card for recording? The built-in recording apps all seem to record directly to the target file.

    Cheers,
    Stewart

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Have you tried changing the default recording size?
    http://www.forum.nokia.com/document/...B0867865A.html

    At least that should work on S60 devices. Which device are you using?

    Hartti

  3. #3
    Registered User sgreenhill's Avatar
    Join Date
    Nov 2007
    Posts
    16
    Hi Hartti,

    Thanks for the suggestions. FYI, the phone is a Nokia 6110 Navigator (24.01) with firmware V 03.58.

    I tried setRecordSizeLimit(Integer.MAX_VALUE) which is supposed to "remove the record size limit". I also tried setting the record size limit to a large value other than Integer.MAX_VALUE. Neither of these change the behaviour. Even though I requested more recording space than was available on C:, it did not change the recording device. This function is meant to return "The actual size limit set" suggesting that some checks might be done, but it always just returns the size that you specify. The docs also say that commit is called implicitly when "No more space is available", but it doesn't do this either so the recording is lost. Calling commit in this state just gives:

    java.lang.RuntimeException: StopRecord failed: -18

    I also tried recording to streams (setRecordStream) and files (setRecordLocation).

    It seems to make no difference. In each case I can watch the free space on "C:" diminish to zero before it gives "Memory Full".

    Stewart

Similar Threads

  1. How to get the path to photos on memory card?
    By heman in forum Mobile Java General
    Replies: 6
    Last Post: 2012-09-03, 10:15
  2. Help to format memory card (Nokia 5300)
    By public2 in forum General Development Questions
    Replies: 0
    Last Post: 2007-07-21, 17:21
  3. Memory Card vs Internal Memory
    By KlaarMobileEntertainment in forum Symbian C++
    Replies: 7
    Last Post: 2006-07-15, 20:46
  4. Nokia N80 Memory Card gets full - without beeing so?!
    By thunder7553 in forum General Development Questions
    Replies: 0
    Last Post: 2006-07-06, 09:25
  5. Replies: 1
    Last Post: 2004-01-13, 23:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved