public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* virtual memory exhausted: Cannot allocate memory
@ 2022-11-30  7:19 Mathieu Malaterre
  2022-11-30  7:29 ` Florian Weimer
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Malaterre @ 2022-11-30  7:19 UTC (permalink / raw)
  To: gcc-help

Hi all,

I am having a hard time understanding which flags to change in case of
`virtual memory exhausted: Cannot allocate memory`. I can compile
openvdb on all Debian supported arches but mipsel. I tried tweaking
the debug level as well as the optimization level without luck so far.

Latest attempt is:

g++-12 [...] -g0 -O0 --param ggc-min-expand=0 --param
ggc-min-heapsize=131072 [...]

What should I try next ?

Thanks much,
-- 
Mathieu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-01 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  7:19 virtual memory exhausted: Cannot allocate memory Mathieu Malaterre
2022-11-30  7:29 ` Florian Weimer
2022-12-01  7:42   ` Mathieu Malaterre
2022-12-01 12:30     ` Stefan Ring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).