You Are Here:

Community: Developer Discussion Boards

#1 Old Question How to determine Heap memory usage - 2005-11-16, 07:03

Join Date: Nov 2005
Posts: 2
vjramani
Offline
Registered User
I am writing a game for the Nokia 6680 and am using the JSR184 API. I've been encountering several problems, like the phone crashing randomly after playing a few levels. This does not happen on the emulator ( no surprise ! ). I suspect this is due to the memory not being freed in time. I've tried using functions like
HTML Code:
Runtime.getRuntime().freeMemory()
and
HTML Code:
Runtime.getRuntime().totalMemory()
to trace the memory usage on the phone. However this just gives me continuously increasing and decreasing values.

Why does this happen ? and How can I trace down the exact memory usage on the phone ?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia 7210 HttpConnection error when high memory usage denvall Mobile Java Networking & Messaging & Security 0 2004-03-12 13:07
Heap memory Vyts Mobile Java General 1 2004-01-18 12:52
How to know heap usage of a thread in another process jsheli2 General Symbian C++ 0 2003-06-13 16:23
can not successfully link any sample using .NET lobotomat Symbian Tools & SDKs 2 2002-08-20 01:29
N7650 heap memory fbebic Mobile Java General 1 2002-07-15 07:05

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia