• AVR Freaks

Hot!XC32 error < cc1.exe: out of memory allocating 65536 bytes >

Author
dm.chikov
Starting Member
  • Total Posts : 35
  • Reward points : 0
  • Joined: 2012/06/11 01:23:16
  • Location: 0
  • Status: offline
2021/01/13 07:32:03 (permalink)
5 (1)

XC32 error < cc1.exe: out of memory allocating 65536 bytes >

Quite often I got a message :

cc1.exe: out of memory allocating 65536 bytes

Sometimes it is necessary to click BUILD several times,
and sometime MPLABX need to be restarted.

What to do in this case?
#1

4 Replies Related Threads

    Jim Nickerson
    User 452
    • Total Posts : 6905
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: XC32 error < cc1.exe: out of memory allocating 65536 bytes > 2021/01/13 09:29:36 (permalink)
    0 (2)
    I do not see this on my Windows 10 64 bit intel machine with 32 gig of memory, but then your experience may be different depending on your system.
    #2
    dm.chikov
    Starting Member
    • Total Posts : 35
    • Reward points : 0
    • Joined: 2012/06/11 01:23:16
    • Location: 0
    • Status: offline
    Re: XC32 error < cc1.exe: out of memory allocating 65536 bytes > 2021/01/18 03:51:40 (permalink)
    +1 (1)
    The same Windows 10 64bit
    8G RAM
    Intel i5-6300U
     
     
    I have this issue minimum one time a day.
    While I was writing this post it happened again.
     
     
    Google says that it is problem of GCC.
    post edited by dm.chikov - 2021/01/18 03:53:51
    #3
    Jim Nickerson
    User 452
    • Total Posts : 6905
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: XC32 error < cc1.exe: out of memory allocating 65536 bytes > 2021/01/18 07:20:09 (permalink)
    0
    Maybe you could "package" your project and add it to a post ?
    #4
    dm.chikov
    Starting Member
    • Total Posts : 35
    • Reward points : 0
    • Joined: 2012/06/11 01:23:16
    • Location: 0
    • Status: offline
    Re: XC32 error < cc1.exe: out of memory allocating 65536 bytes > 2021/01/18 09:16:00 (permalink)
    +1 (1)
    This happened with any project I have number of projects - the same issue.
    It started to show me this message after MCC32->XC32 replace.
    I have my own PC and pool laptop from my employer the same thing.
     
    c:/program files/microchip/xc32/v2.50/bin/bin/../../lib/gcc/pic32mx/4.8.3/../../../../pic32mx/bin/as.exe: out of memory allocating 524396 bytes
    cc1.exe: out of memory allocating 8392703 bytes
     

    windows has a virtual memory.
    It is not possible that memory allocating will meet the limit. This is a software problem it doesn't matter if you have 4G of RAM or 100G.
     
    #5
    Jump to:
    © 2021 APG vNext Commercial Version 4.5