Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMS - Leave open or close after each operation?

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My midlet application is running very low on heap memory.

The app seems to struggle when doing RMS operations until I eventually get an OutOfMemoryError.

Does anyone have tips for RMS use and keeping the heap usage down? At the moment, I open and close the RMS for each operation. I am considering keeping it open all the time, but just wondered if anyone knew the extent of the effect this might have on my precious heap memory??

Many thanks,
James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic