|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Need Solution: To increase Population SizeHello Everyone,
I'm doing project using JGAP. I need to set population size as 6,00,000 Chromosomes.When i give this "conf.setPopulationSize( 135000);" I'm getting this Exception. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.jgap.Chromosome.<init>(Chromosome.java:198) at org.jgap.Chromosome.<init>(Chromosome.java:266) at org.jgap.Chromosome.randomInitialChromosome(Chromosome.java:733) at org.jgap.Chromosome.perform(Chromosome.java:1104) at org.jgap.impl.DefaultInitializer.perform(DefaultInitializer.java:47) at org.jgap.Genotype.fillPopulation(Genotype.java:359) at org.jgap.Genotype.randomInitialGenotype(Genotype.java:334) at univ_timetable.UNIV_TIMETABLE.main(UNIV_TIMETABLE.java:305) Java Result: 1 Help me to set population size as 600000. Thanks in Advance, Araisa |
|
|
Re: Need Solution: To increase Population Sizehttp://tinyurl.com/85w4czl
http://stackoverflow.com/questions/717550/java-lang-outofmemoryerror-java-heap-space-with-netbeans ^^ that is for netbeans IDE, google broader terms as needed
|
|
|
Re: Need Solution: To increase Population SizeThank you disgruntled_young_man. i could clear exception by increasing the java heap space in netbeans...
|
| Free embeddable forum powered by Nabble | Forum Help |