- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm running an application on my Nios II with MMU Linux, and every time that I perform a certain operation with it the app's memory usage goes up a little, until the kernel just kills it after a few hundred operations because it's trying to use more memory than is available in the system. Correct me if I'm wrong, but it seems to me like I have a memory leak in my application. I've used Valgrind when debugging this sort of problem on a PC, but it doesn't seem like I can use it in this case (again, please correct me if I'm wrong).
Is there another tool available for debugging memory leaks on Nios II? If not, then do you have any suggestions for how to go about debugging the leak? Thanks, -ALink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've used memwatch (http://sourceforge.net/projects/memwatch/) successfully in the past.
Cheers, Slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks a lot
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page