Fix bug 127069.
Reclaim .75 MB of VM on Win32. r=dp sr=brendan a=shaver git-svn-id: svn://10.0.0.236/trunk@115198 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -44,6 +44,20 @@ REQUIRES = xpcom \
|
||||
PROGRAM = .\$(OBJDIR)\$(MODULE).exe
|
||||
RESFILE = $(MODULE).res
|
||||
|
||||
|
||||
#
|
||||
# Control the default heap size.
|
||||
# This is the heap returned by GetProcessHeap().
|
||||
# As we use the CRT heap, the default size is too large and wastes VM.
|
||||
#
|
||||
# The default heap size is 1MB on Win32.
|
||||
# The heap will grow if need be.
|
||||
#
|
||||
# Set it to 256k. See bug 127069.
|
||||
#
|
||||
LLFLAGS=$(LLFLAGS) /HEAP:0x40000
|
||||
|
||||
|
||||
OBJS = \
|
||||
.\$(OBJDIR)\winEmbed.obj \
|
||||
.\$(OBJDIR)\WebBrowserChrome.obj \
|
||||
|
||||
@@ -97,6 +97,20 @@ LFLAGS= $(LFLAGS) /subsystem:console
|
||||
LFLAGS= $(LFLAGS) /subsystem:windows
|
||||
!endif
|
||||
|
||||
|
||||
#
|
||||
# Control the default heap size.
|
||||
# This is the heap returned by GetProcessHeap().
|
||||
# As we use the CRT heap, the default size is too large and wastes VM.
|
||||
#
|
||||
# The default heap size is 1MB on Win32.
|
||||
# The heap will grow if need be.
|
||||
#
|
||||
# Set it to 256k. See bug 127069.
|
||||
#
|
||||
LLFLAGS=$(LLFLAGS) /HEAP:0x40000
|
||||
|
||||
|
||||
# These are the libraries we need to link with to create the exe
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
|
||||
Reference in New Issue
Block a user