malloc_error - hilfe...
Verfasst: Mittwoch 18. März 2009, 18:56
Hi,
bin dabei biologische Daten zu prozessieren und aus riesen XML-files (bis zu 7GB) notwendige Daten in ein Dictionary zu extrahieren. Nach einigen Anläufen hat das auch funktioniert. Mein Problem jetzt ist, dass die Dictionaries natürlich z.T. auch nicht so klein sind - sprich ca. 100MB. Zur Info - ich habe die Datenstruktur selbst in einer Datei abgelegt, die ich dann via z.B. from dbSNP_chr14 import dict as chr14 versuche, zu importieren.
Problem: nach einigen Minuten sehe ich nur noch Folgendes:
>>> from dbSNP_chr14 import dict as chr14
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
...
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=102514688) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
>>>
Mein Rechner hat folgende Daten:
Mac OS X, v. 10.5.6
2x3GHz Quad-CoreIntel Xeon
5GB 667MHz
Habe schon alles Mögliche im Netz abgesucht, aber finde nicht wirklich was, was mir weiterhilft...Es sieht nach einem üblen Speicherproblem aus...
Vielleicht hat ja hier jemand eine Idee?! Ich wäre wirklich dankbar!!!!
Lg,
wieni
bin dabei biologische Daten zu prozessieren und aus riesen XML-files (bis zu 7GB) notwendige Daten in ein Dictionary zu extrahieren. Nach einigen Anläufen hat das auch funktioniert. Mein Problem jetzt ist, dass die Dictionaries natürlich z.T. auch nicht so klein sind - sprich ca. 100MB. Zur Info - ich habe die Datenstruktur selbst in einer Datei abgelegt, die ich dann via z.B. from dbSNP_chr14 import dict as chr14 versuche, zu importieren.
Problem: nach einigen Minuten sehe ich nur noch Folgendes:
>>> from dbSNP_chr14 import dict as chr14
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
...
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python(13497) malloc: *** mmap(size=102514688) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
>>>
Mein Rechner hat folgende Daten:
Mac OS X, v. 10.5.6
2x3GHz Quad-CoreIntel Xeon
5GB 667MHz
Habe schon alles Mögliche im Netz abgesucht, aber finde nicht wirklich was, was mir weiterhilft...Es sieht nach einem üblen Speicherproblem aus...
Vielleicht hat ja hier jemand eine Idee?! Ich wäre wirklich dankbar!!!!
Lg,
wieni