16 reputation
2
bio website
location
age
visits member for 1 year
seen Jan 23 at 0:04

Sep
20
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
I have tried OpenJDK 6 and 7, and still the same problem. I am willing to write the program to demonstrate/prove this in C if it will pacify you guys... but I have tried everything you have suggested. I really believe based on how the diagnostic process works, that we have eliminated the JRE/JDK as the source of the problem. I really believe this comes down to the linux JDK calling out to fork()/vfork()/exec(). I'll read the java source code to ascertain which call it is getting and make the patch myself.
Sep
20
revised How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
testing with openjdk
Sep
20
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
OpenJDK isn't (very) condoned for running Apache's Hadoop, but like I keep saying, I really believe this is a problem with fork() at the kernel/source-level. I will test this out with OpenJDK 6 and 7, and post the results later. I anticipate that they will be the same.
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
Yes, Sun's Java. I pasted the "java -version" on all of the tests I illustrated above. It's all Sun/Oracle Java.
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
I have also tested it on 13.04 with the vanilla kernel, and the newest kernel. Same problem.
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
FWIW, I tested this on the lowest kernel available on 12.04, same problem. I've also tested it with the newest kernel for 12.04, same thing.
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
@Braiam I just did a vanilla 10.04 server install and did a sun java jre 1.7 install. Nearly identical functionality. I really do believe this has eliminated java 6 / 7 as a suspect and points to something kernel based/fork-related in 10.04 versus 12.04.
Sep
19
revised How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
java 7 on 10.04
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
@Braiam I just did a vanilla 12.04 server install and did a sun java jre 1.7 install. Nearly identical problem. Updated original post. Will try out java 7 on 10.04 and see if I get a similar result from java 6 on 10.4...
Sep
19
awarded  Editor
Sep
19
revised How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
java7 experiment
Sep
19
comment How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?
@Braiam I will try that out, but I suspect since I used the same java binary to install on both Ubuntu versions, that it's something os/kernel-based.
Sep
19
awarded  Student
Sep
19
asked How do I control the vmem when forking, as I'm getting different results on 10.04 lts and 12.04 lts?