Memory leak on Tiny Core Linux

24 views
Skip to first unread message

Krzysztof Cichocki

unread,
Jun 23, 2013, 3:25:48 PM6/23/13
to v4...@googlegroups.com
Hi, i use Tiny Core Linux, and I have tryied v4l4j with openjdk, sunjdk,
it works for about 5 min, then it run into out of memory, an OOM kills it.

When i tracked memory with watch -n 1 free command i see, that the free memory amount goes down when v4l4j is runnig,
this system has 256MB of RAM. I would like to use your project, but i can't deal with this memory leak,
This is not problem of JVM, not problem of compiler I used, Could it be that this is problem with Tiny Core Linux? It seems imposible, because many people use it,
so this kind of bug would be quickly fixed i've think.
Another thing is that, when I use WebCam that supports only YUYV 422 and JPEGEncoder, the result is black and white with 2 color ghousts (one of left side and one of right side) of the image.
I've writed a small program in java that can handle YUYV 422 and convert it to RGB 888, but i can't resolve the problem with memory leak, please help me.

Gilles Gigan

unread,
Jun 23, 2013, 5:53:50 PM6/23/13
to v4...@googlegroups.com

Hi
Im not sure why this is happening. .. I ve had v4l4j running on raspberry pi model A (256 mb of RAM) with debian wheezy for days without issues. Can you send me a small sample of your code that I can run to reproduce the problem ?
Regarding the yuyv conversion can you send me the Java code you have to do the conversion ? I have a webcam which captures only this format and the conversion to rgb is fine.
Thanks
Gilles

--
You received this message because you are subscribed to the Google Groups "v4l4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v4l4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages