Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-29 Thread Nadav Har'El
On Wed, May 29, 2019 at 7:43 AM robertob wrote: > Setting "-Xss228k" solved the memory consumption problem. I think the > problem was Java setting so...OSv works fine! > Great we got to the root of this issue (thanks Waldek!), but OSv is not completely off the hook, OSv is somewhat to blame

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-28 Thread robertob
Setting "-Xss228k" solved the memory consumption problem. I think the problem was Java setting so...OSv works fine! Thanks roberto Il giorno domenica 26 maggio 2019 22:39:06 UTC+2, Waldek Kozaczuk ha scritto: > > Hi, > > I have experimented a bit and it seems your problem on JVM side and you

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-26 Thread Waldek Kozaczuk
Hi, I have experimented a bit and it seems your problem on JVM side and you probably have to tune it up with some options. First of just to set the baseline of OSv memory usage itself. The simplest image with C 'hello worlds' example with ROFS and using single vCPU ./scripts/build fs=rofs

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-26 Thread Waldek Kozaczuk
I will try to take a look Sent from my iPhone > On May 26, 2019, at 13:44, robertob wrote: > > Sorry, I am halted on this problem. > > Any Idea? > > Il giorno giovedì 23 maggio 2019 08:15:03 UTC+2, robertob ha scritto: >> >> Hi guys, >> >> I've also tried on the Fedora 30 linux to

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-26 Thread robertob
Sorry, I am halted on this problem. Any Idea? Il giorno giovedì 23 maggio 2019 08:15:03 UTC+2, robertob ha scritto: > > Hi guys, > > I've also tried on the Fedora 30 linux to execute the Java app with 400 > threads and I must confirm that the machine memory does not go over 700 MB > during

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-23 Thread robertob
Hi guys, I've also tried on the Fedora 30 linux to execute the Java app with 400 threads and I must confirm that the machine memory does not go over 700 MB during the Java app execution. It's a mistery why on OSv it requires much more memory with threads. Any hints? thanks a lot roberto

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread robertob
Il giorno lunedì 20 maggio 2019 18:09:49 UTC+2, Nadav Har'El ha scritto: > > > On Mon, May 20, 2019 at 5:35 PM Waldek Kozaczuk > wrote: > >> >> >> On Sunday, May 19, 2019 at 12:19:59 PM UTC-4, robertob wrote: >>> >>> Hi everybody, >>> >>> I have built an OSv image that run with QEMU and KVM

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread Nadav Har'El
On Mon, May 20, 2019 at 5:35 PM Waldek Kozaczuk wrote: > > > On Sunday, May 19, 2019 at 12:19:59 PM UTC-4, robertob wrote: >> >> Hi everybody, >> >> I have built an OSv image that run with QEMU and KVM acceleration. It >> executes a mine Java multi threading application. >> >> This is the

[osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread robertob
I create the Threads in the same Java with this instruction: new Thread(...) { } I think these are Java threads...or not? yes I used VisualVM and it allocates no more then the heap allocated with the Xmx arguments to the Java executable. Infact Java does not fail for memory, it fails the

[osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread Waldek Kozaczuk
On Sunday, May 19, 2019 at 12:19:59 PM UTC-4, robertob wrote: > > Hi everybody, > > I have built an OSv image that run with QEMU and KVM acceleration. It > executes a mine Java multi threading application. > > This is the command line I execute: > > capstan run unikure -n "bridge" -c 2 -m