On Wed, 1 Nov 2023 at 09:45, Vishal B Patil <vishal.b.pa...@cummins.com> wrote: > > Hi team, > > I'm using Mingw win32. My total code size is around 82MB. I'm getting error > while compilation "out of memory allocating 48 bytes" , I have attached the > snap for your reference. > > I have cleaned temp folder but not solved, then I research and it's about the > win32 mingw. Which has limit of 2GB. My code use more than 2GB size in > memory, task manager it consumes 98% memory and then it crashed. > > Could you please help me on that.
This mailing list is for discussion the development of GCC itself, not for asking for help using GCC. Please use the gcc-help list next time. Your problem is not a problem with GCC, it's a problem with your program. Either change your code to use less memory, or create a 64-bit executable that does not have the 2GB limit.