<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=EUC-KR" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 2/9/2010 1:15 AM, ÀÌÀϺó wrote:
<blockquote cite="mid:D3610A9C768A436D84FBAE7A04589660@etri.info"
 type="cite">
  <div id="msgbody" style="font-size: 10pt; font-family: ±¼¸²;"><br>
  <div>&nbsp;</div>
  <div>----------------------------</div>
  <div>ngram -debug 2 -order 3 -count-lm -lm google.countlm -vocab
vocab.txt&nbsp;-vocab-aliases google.aliases -limit-vocab -write-lm google.lm<br>
----------------------------</div>
  <div>&nbsp;</div>
  <div style="font-family: ±¼¸²;">
  <div>
  <div style="font-family: ±¼¸²;">
  <div>But an error message came out. </div>
  <div>&nbsp;</div>
  <div>----------------------------</div>
  <div>assertion "body != 0" failed: file "../../include/LHash.cc",
line 138<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 [sig] ngram 21852 winpids::enumNT: error 0xC0000005 reading
system proce<br>
ss information<br>
Aborted (core dumped)</div>
  <div>----------------------------</div>
  <div>&nbsp;</div>
  <div>However, I monitored the committed memory size and it reached
only 900MB.</div>
  <div>So I'm wondering whether there is a memory usage limit in the
toolkit.</div>
  <div>&nbsp;</div>
  <br>
  </div>
  </div>
  </div>
  </div>
</blockquote>
In case this is helpful:&nbsp;&nbsp; I wrote a small program called "maxalloc"
that will determine empirically how much data your system allows you to
allocate in a program (via malloc/new). &nbsp; This will be a function of
swap space, resource limits, system configuration, and you might not
have control over some of these and need assistance from a system
administrator.<br>
<br>
For what it's worth, on my Windows XP system with Cygwin, I can only
malloc about 1GB of data, although I have 4GB of memory instaled.&nbsp;
Surely there is&nbsp; some windows configuration thingy somewhere that will
change this.&nbsp;&nbsp; Maybe someone with more Windows expertise can help!<br>
<br>
Andreas<br>
<br>
PS.&nbsp; maxalloc is in the latest SRILM beta version.<br>
<br>
<br>
</body>
</html>