×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    188

    Question Perst DB keeps increasing!

    Hi All,

    In my application I am storing the data in the perst database.

    The problem I am facing is even if I am deleting the data from the database still the size of the DB is increasing.I am do not know the reason.I am storing the db in the phone memory and it's kepp increasing to 3mb, 4mb....

    What will be the reason and what is the solution for the same? Please help me...

    Is there any tool to read the .dbs file and check the content?If yes, then please guide me...


    Thanks & Regards,
    Ajit

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Perst DB keeps increasing!

    Hello Ajit,

    by Perst DB, I take that you mean the record store for the MIDlet, is it not?

    If yes,

    -How large amount of data do you store in the record store?

    -Which device(s) do you use for testing this?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    188

    Exclamation Re: Perst DB keeps increasing!

    Quote Originally Posted by r2j7 View Post
    Hello Ajit,

    by Perst DB, I take that you mean the record store for the MIDlet, is it not?

    If yes,

    -How large amount of data do you store in the record store?

    -Which device(s) do you use for testing this?

    Regards,
    r2j7
    Thanks for your reply!
    As per your question please refer below

    Yes,the record store for the MIDlet.
    Each time when I am doing sync with the server at max I am storing 200kb of data at a time.And in some cases I am deleting some amount of data.

    After synchronize with the server I am again adding some data and as per the requirement and as well deleting some required data for entire table also.


    For testing I am using Nokia6300 and Nokia3110C.

    Please guide me....

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Perst DB keeps increasing!

    The record store size in terms of file limit is around of 256 kB for the devices in question, but a MIDlet can have several record stores. Could this approach (i.e. separate record stores for sync data and other data) be used for your case to see if that makes a difference?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    188

    Red face Re: Perst DB keeps increasing!

    Quote Originally Posted by r2j7 View Post
    The record store size in terms of file limit is around of 256 kB for the devices in question, but a MIDlet can have several record stores. Could this approach (i.e. separate record stores for sync data and other data) be used for your case to see if that makes a difference?

    Regards,
    r2j7
    Thanks for your reply!

    I am not getting what you have suggested above.
    Can you please describe in briefly details.

    Thanks & Regards,
    Ajit

  6. #6
    Registered User
    Join Date
    Aug 2009
    Posts
    6

    Re: Perst DB keeps increasing!

    Me too facing similar kind of problem.

    My Jar size is 260Kb and my application storing some datas in RMS. After installing my jar in mobile(6300) and used for some time, the jar size has insreased to 20kb to 30kb.

    Is it a problem with my code or anything else? If anyboby knows about this problem mean plese tell me, increase in jar size will create any problem or not?

    Thanks.

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Perst DB keeps increasing!

    I have also seen this on Nokia 6500 slider or 3110, the application manager reports the size of jar + rms and as rms size increases the reported app size is also shown increased.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. when to call open DB method?
    By Joyce An in forum Symbian
    Replies: 2
    Last Post: 2009-08-25, 02:08
  2. Lightweight DB, full-text search on mobile phones
    By tedkenney in forum Mobile Java General
    Replies: 0
    Last Post: 2009-01-26, 23:25
  3. Perst Lite, a Java ME embedded database, adds compression
    By tedkenney in forum News and Announcements
    Replies: 1
    Last Post: 2008-06-03, 00:45
  4. Replies: 6
    Last Post: 2007-04-24, 21:36
  5. Last modified time of contacts DB
    By cmc77 in forum Symbian
    Replies: 1
    Last Post: 2004-03-31, 13:05

Posting Permissions

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