Avrdbg huge memory consumption

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't want to start a thread about complaining how these softwares today need a lot of memory, but 1.5Gbyte for the debug process seems a little above average for me.

Does anyone have a reasonable explanation for this? Or is this just normal?

I use the latest toolchain.

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What build of Studio? Patch 1 and the initial public release of AS6 contains a memory leak in the backend, which will gradually increase the memory consumption with each launch of an application. Patch 2 and the just-released Service Pack 1 fix the issue.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh well then.
This was version: Patch 2

I just thought that the studio version would not affect the behavior of the avr toolchain. I updated today to the latest version: SP1. I will check if the memory leak exists then.

Thanks Dean!

Edit: I just took a look at the avrdbg.exe process. It is right now at 960 Mbytes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I just thought that the studio version would not affect the behavior of the avr toolchain.

avrdbg.exe is not part of the toolchain, it is the debugging backend for studio.

What are you loading? Do you have extreme amounts of debug info? (e.g. does the size reduces if you compile with a lower debug level..)

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrdbg.exe isn't the toolchain, it's the backend system of Atmel Studio (the debugger, simulator and tool control). The toolchain (compiler, assembler, linker, etc.) is a different component altogether.

Try the SP1 patch from the extension gallery.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for your update on where the avrdbg belongs to.

meolsen:
When I set the debugging info to minimal, then the avrdbg process only uses around 10 mbyte.

Having maximum debugging info it goes up to 1Gbyte.

Well, at least I know this is because of the debug level set to high.

Attachment(s):