On Fri, Apr 26, 2013 at 12:06 PM, Marguerite Su wrote:
On Fri, Apr 26, 2013 at 4:53 AM, Martin Koegler
wrote: It runs out of memory. constraints?
Hi, Martin
It works for i586, but x86_64 is still out of memory.
I have given it 4GB memory. (on a local machine with 3GB ram, I can build it, just 98% cpu usage)
so should I increase memory again, or give it some cpu(possible)?
x86_64 will require about 50% more RAM (6G), assuming regular-sized strings (word-size). You could also ask upstream to optimize a bit. Or optimize yourself if you can. For instance, holding unicode strings in memory takes a hefty amount of ram, although it's recommended practice to always work with unicode, when you're handling this much data it's not so hot. So, just encoding all in utf8, in-memory, will shrink your memory usage by a lot (string data itself will be one quarter size, though pointers and PyObject headers will still be big). That's a farily simple (albeit tricky) optimization. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org