|Re: [recommenders-dev] [Jayes] Any Suggestions to Solve Heap Space Problem|
Also, the correct place for the java arguments is the run configuration as far as I know (assuming you have problems with a project you are running, not the IDE itself)
Thank you for the praise :-)
Does the problem appear when you create the BayesNet or when you create the JunctionTreeAlgorithm? Are your CPTs sparse (lots of zeroes) or not?
Sadly the best way to deal with the problem is probably to change the model - for example, our models have lots of nodes, but we get away by modeling them as children instead of parents because they are conditionally independent given the "main" node.
If it's not possible to change the model, youÂ could try using floats instead of doubles. Refer to the Jayes blog post linked on the code recommenders homepage.
Regards, MichaelAm 04.10.2016 13:19 schrieb "Ekincan Ufuktepe" <ekincanufuktepe@xxxxxxxxx>:Hi Everyone,First I would like to say that I really appreciate the work and effort on "Jayes".I have been working on Bayesian Networks for a while and among most of the Bayesian Network libraries, Jayes is one of the best. However, I am working on a project that includes a lot of nodes and on occasions I might have some nodes with more the 10 parent nodes, with makes 2^n+1 size of a node probabilistic table (n = number of parent nodes). Therefore, it is quite usual to encounter "java.lang.OutOfMemoryError: Java heap space" errors sometimes.I was wondering if there are any suggestions that you might give to overcome this problem.So far, I have tried to configure my eclipse.ini file, by modifying -Xms, -Xmx andÂXX:MaxPermSizeBut it seems that it is not effected by any changes that I have made on eclipse.ini. Furthermore, I have also tried to use the parameter through "Run Configurations". However, that trial has also let me down as well.Please let me know if anything is unclear.Thanks in advance,Ekin
recommenders-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit