diff options
Diffstat (limited to 'tools/nimsuggest/nimsuggest.nim.cfg')
-rw-r--r-- | tools/nimsuggest/nimsuggest.nim.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/nimsuggest/nimsuggest.nim.cfg b/tools/nimsuggest/nimsuggest.nim.cfg index 949bd18e8..6525a206a 100644 --- a/tools/nimsuggest/nimsuggest.nim.cfg +++ b/tools/nimsuggest/nimsuggest.nim.cfg @@ -8,6 +8,12 @@ path:"$lib/packages/docutils" define:useStdoutAsStdmsg define:nimsuggest +# die when nimsuggest uses more than 4GB: +@if cpu32: + define:"nimMaxHeap=2000" +@else: + define:"nimMaxHeap=4000" +@end #cs:partial #define:useNodeIds |