|
原帖由 采花郎 于 2008-11-7 20:13 发表 # H! B& Z% m, U, L
回楼上,还是失败,2G内存没能吃下它
( f: m; m& Y& @9 o
: F6 f o: |5 n, J" ~没理由啊……我这里内存占用一直没有超过 300K ....
$ }# C# S3 ^; w) @5 K
9 V& B2 P. F. ?/ x不过也没有用,这个肯定已经超限了,我这边运行的结果是这样的,供参考:* N t Y2 q5 W! ?! y' N2 ]
6 {4 N W7 Z1 ^% x# {
~/wikipedia$ python ZDicTool_emfox.py enwiki.xml.bz2 enwiki.pdb
: o; S3 Z, g4 A. U: m7 g+ b[21:35:53]Loading...2 G# ]4 {/ o2 O0 Z5 Y4 }- c
[21:35:53]Processing...3 M0 [$ |6 o" Y' k4 Z1 m/ a% q
[20:49:03]Saving...* K: ^, ~. ]$ X4 P
ZDicTool_emfox.py:201: DeprecationWarning: 'H' format requires 0 <= number <= 65535/ K+ C' x) v, m) g
self.index=pack('>I2H8x',1,self.bnum,2)+self.lenSec+ self.index% L* n; Q. U2 P
ZDicTool_emfox.py:196: DeprecationWarning: 'H' format requires 0 <= number <= 65535, w5 |( }5 M5 Z
self.pdbType,self.creatorID,0,0,self.bnum$ [" p. ]& c8 l' g& A
ZDicTool_emfox.py:210: DeprecationWarning: struct integer overflow masking is deprecated& x) z ^, c: k3 a) R7 h6 z8 D4 w
towrite+=pack('>2L', offset, uid)
- d5 S3 ~# \* k7 o[20:52:01]Success! 23h16m8s passed.* T% b9 \" r! `
2 G) ~! V9 q! C% o; |9 r~/wikipedia$ ls -lh3 B6 I# X' q2 y8 b; ?# T
total 9.4G
; \, S, [2 [1 u' O0 q+ u6 T6 P-rw-r--r-- 1 emfox emfox 5.2G 2008-11-07 20:51 enwiki.pdb
h3 `7 Q, u+ M# i-rw-r--r-- 1 emfox emfox 4.2G 2008-10-31 16:01 enwiki.xml.bz2: Z8 N4 [. P9 N U ~0 V
-rw------- 1 emfox emfox 11K 2008-11-06 21:35 ZDicTool_emfox.py |
|