Java Heap Issue: Fork level , simple solution
My new project hasn't been any exciting, I kept wondering what on earth was I doing. I ha dto deal with on-boarding Apps day after day on to Hudson and get the Sonar Metrics up. Lame I thought, it was dreadfullu monotonous , until I hit this one. It was a simple Java Heap size issue and I rather sheepishly , set the Hepa to the maz 1024 , no luck. I then bumped it to 2048, still the issue refused to die down. Huh! I targeted the GC options on a lead's suggestion, 2 days + a gazzillion permutations and combinations, I almost gave up.But I guess I mastered the GC quite a bit.
One look at the build file, the fork option was set to Yes and we had to set up the heap size for each fork here insteda of the usual way of setting it up in the Hudson console. A simple solution , a simpler problem, I just refused to look at the right place.
fork=”true”
memoryInitialSize="256m"
memoryMaximumSize="1024m"

