Christopher Williams wrote:
> But, you might be facing a different memory situation which is that I
> generate index keys for every unique IPath I hit. I generate a
> SearchDocument and throw them in a HashMap keyed by the IPath. The
> SearchDocument basically just holds a List of Strings each of whcih
> represents an index key for a ruby element. Apparently there are enough
> documents and keys generated to cause you troubles. To fix this, I'd
> need to
> add more smarts to the indexer to write out indexes to files and clean up
> the in-memory copies, etc.
>
> How old is the snapshot you're using?
I updated from CVS HEAD today;

> What is your RAM limit set to for Eclipse?
I ran it by launching it in the Eclipse debugger - I'm not entirely sure
what the default limit is.
I tried it again with Xmx set to 512 M and that seems to have solved it
- at least I don't get the problem again.
Two options:
 - just mention this in a FAQ (Set Xmx to 512)
 - or catch the OOM Error and just log it (I got an error that popped up);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to