Error "Too many heap sections" on Windows

Hello,
I encounter serious problems running inkscape with larger files, or using inkscape to build OpenStreetMap binaries.
When the files become to large, I get the error message "Too many heap sections" and inkscape exits. There is a way to fix this, I found this: http://osdir.com/ml/programming.garbage-collection.boehmgc/2006-01/msg00006....
And there is already a bug against inkscape: https://bugs.launchpad.net/inkscape/+bug/168914
Now I wanted to compile my own binary on windows, using the instructions in the Wiki. But the (usually helpful) devlibs already contain libgc.a, and I found no docs how to create this file :( I wanted to create libgc with the LARGE_CONFIG parameter in the makefile, and then build inkscape with this new libgc to check if the problem is gone ...
Can anyone help me to do this, or point me to the appropriate docs?
Thanks in advance!
bbackde

-----Original Message----- From: bbackde@...1439... [mailto:bbackde@...1439...] Sent: maandag 5 januari 2009 19:00 To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Error "Too many heap sections" on Windows
Hello,
I encounter serious problems running inkscape with larger files, or using inkscape to build OpenStreetMap binaries.
When the files become to large, I get the error message "Too many heap sections" and inkscape exits. There is a way to fix this, I found this: http://osdir.com/ml/programming.garbage-collection.boehmgc/200
6-01/msg00006.html
And there is already a bug against inkscape: https://bugs.launchpad.net/inkscape/+bug/168914
Now I wanted to compile my own binary on windows, using the instructions in the Wiki. But the (usually helpful) devlibs already contain libgc.a, and I found no docs how to create this file :( I wanted to create libgc with the LARGE_CONFIG parameter in the makefile, and then build inkscape with this new libgc to check if the problem is gone ...
Can anyone help me to do this, or point me to the appropriate docs?
Bob (ishmal) has been building the devlibs for us for as long as I know. So I guess he would be the first to ask.
I think we should come up with a different solution for our devlibs (there is another devlibs rebuild pending to fix a bug), so Bob doesn't have to do all the work. I don't mind helping in building the libs.
Cheers, Johan

Thanks for your answer. I wrote ishmal a mail to his sf.net account directly, and I hope he can answer soon...
Currently, OpenStreetMaps rendering at home can only be done using Inkscape (good for Inkscapes reputition), but the "Too many heap sections" error really prevents the unattended processes from running, because you have to accept the error dialog manually each time. Windows users cannot render those big maps, and the OpenStreetMap render queue becomes bigger and bigger :( (Linux users can eventually recompile libgc by itself easily to solve the problem).
On Mon, Jan 5, 2009 at 19:18, <J.B.C.Engelen@...1578...> wrote:
-----Original Message----- From: bbackde@...1439... [mailto:bbackde@...1439...] Sent: maandag 5 januari 2009 19:00 To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Error "Too many heap sections" on Windows
Hello,
I encounter serious problems running inkscape with larger files, or using inkscape to build OpenStreetMap binaries.
When the files become to large, I get the error message "Too many heap sections" and inkscape exits. There is a way to fix this, I found this: http://osdir.com/ml/programming.garbage-collection.boehmgc/200
6-01/msg00006.html
And there is already a bug against inkscape: https://bugs.launchpad.net/inkscape/+bug/168914
Now I wanted to compile my own binary on windows, using the instructions in the Wiki. But the (usually helpful) devlibs already contain libgc.a, and I found no docs how to create this file :( I wanted to create libgc with the LARGE_CONFIG parameter in the makefile, and then build inkscape with this new libgc to check if the problem is gone ...
Can anyone help me to do this, or point me to the appropriate docs?
Bob (ishmal) has been building the devlibs for us for as long as I know. So I guess he would be the first to ask.
I think we should come up with a different solution for our devlibs (there is another devlibs rebuild pending to fix a bug), so Bob doesn't have to do all the work. I don't mind helping in building the libs.
Cheers, Johan

I tried to contact Bob several times, but never got any answer.
On Tue, Jan 6, 2009 at 20:09, <bbackde@...1439...> wrote:
Thanks for your answer. I wrote ishmal a mail to his sf.net account directly, and I hope he can answer soon...
Currently, OpenStreetMaps rendering at home can only be done using Inkscape (good for Inkscapes reputition), but the "Too many heap sections" error really prevents the unattended processes from running, because you have to accept the error dialog manually each time. Windows users cannot render those big maps, and the OpenStreetMap render queue becomes bigger and bigger :( (Linux users can eventually recompile libgc by itself easily to solve the problem).
On Mon, Jan 5, 2009 at 19:18, <J.B.C.Engelen@...1578...> wrote:
-----Original Message----- From: bbackde@...1439... [mailto:bbackde@...1439...] Sent: maandag 5 januari 2009 19:00 To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Error "Too many heap sections" on Windows
Hello,
I encounter serious problems running inkscape with larger files, or using inkscape to build OpenStreetMap binaries.
When the files become to large, I get the error message "Too many heap sections" and inkscape exits. There is a way to fix this, I found this: http://osdir.com/ml/programming.garbage-collection.boehmgc/200
6-01/msg00006.html
And there is already a bug against inkscape: https://bugs.launchpad.net/inkscape/+bug/168914
Now I wanted to compile my own binary on windows, using the instructions in the Wiki. But the (usually helpful) devlibs already contain libgc.a, and I found no docs how to create this file :( I wanted to create libgc with the LARGE_CONFIG parameter in the makefile, and then build inkscape with this new libgc to check if the problem is gone ...
Can anyone help me to do this, or point me to the appropriate docs?
Bob (ishmal) has been building the devlibs for us for as long as I know. So I guess he would be the first to ask.
I think we should come up with a different solution for our devlibs (there is another devlibs rebuild pending to fix a bug), so Bob doesn't have to do all the work. I don't mind helping in building the libs.
Cheers, Johan
-- __________________________________________________ GnuPG key: (0x48DBFA8A) Keyserver: pgpkeys.pca.dfn.de Fingerprint: 477D F057 1BD4 1AE7 8A54 8679 6690 E2EC 48DB FA8A __________________________________________________

bbackde@...1439... wrote:
I tried to contact Bob several times, but never got any answer.
On Tue, Jan 6, 2009 at 20:09, <bbackde@...1439...> wrote:
Thanks for your answer. I wrote ishmal a mail to his sf.net account directly, and I hope he can answer soon...
Currently, OpenStreetMaps rendering at home can only be done using Inkscape (good for Inkscapes reputition), but the "Too many heap sections" error really prevents the unattended processes from running, because you have to accept the error dialog manually each time. Windows users cannot
I know this is probably not a true solution to your problem, but I prevent a similar thing from happening in the rendering tests by the following dual approach: - Compile Inkscape as a console program (change -mwindows to -mconsole in build.xml) - Run it after having called SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOGPFAULTERRORBOX|SEM_NOOPENFILEERRORBOX);
As far as I know this prevents most error dialogs from popping up.
render those big maps, and the OpenStreetMap render queue becomes bigger and bigger :( (Linux users can eventually recompile libgc by itself easily to solve the problem).
participants (2)
-
unknown@example.com
-
Jasper van de Gronde