Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of Memory



Hi Leon, I have listed following variable,

| $ON_MEMORY_MAX
|   ( I believe you have done this already)
| $FILE_SIZE_MAX
| $TEXT_SIZE_MAX
| $WORD_LENG_MAX

But I did not mention the necessity of adding 'package conf;' word for these names.
Have you done that ?

You may say either
----------------------
package conf;
$ON_MEMORY_MAX = 5000000;
$FILE_SIZE_MAX = 2000000;
$TEXT_SIZE_MAX =  600000;
$WORD_LENG_MAX =     128;
-----------------------
or
------------------------
$conf::ON_MEMORY_MAX = 5000000;
$conf::FILE_SIZE_MAX = 2000000;
$conf::TEXT_SIZE_MAX =  600000;
$conf::WORD_LENG_MAX =     128;
-----------------------
The value added are defaults, make them smaller.

The other things, it would be helpfull if you add the actual problematic
situation. ( error output ).
mknmz --verbose  (other parameter)
mknmz --debug  (other parameter)
may also be a clue to resolve the situation.
---
(Makoto Fujiwara)