I am running an application that recommends that Yawcam do its USB WebCam streaming.
The problem is that it means multiple copies of JAVA, which is a memory Hog...
Three (3) cameras are using 3x7 Gigs of memory which puts a serious dent in my 32G system.
Is there any way to optimize for multiple copies of YawCam?
Multiple copies of YawCam need Multiple copies of Java?
Re: Multiple copies of YawCam need Multiple copies of Java?
7 GB of memory for a single instance of Yawcam sounds really much...
What java distribution are you using?
What image size are you using for the device?
It is important to note that the memory usage will depend on the image size.
In my tests a single instance for a camera with full HD (1920x1080) resolution running on Java 21 uses around:
450 MB active memory
850 MB committed memory
/malun
What java distribution are you using?
What image size are you using for the device?
It is important to note that the memory usage will depend on the image size.
In my tests a single instance for a camera with full HD (1920x1080) resolution running on Java 21 uses around:
450 MB active memory
850 MB committed memory
/malun
Re: Multiple copies of YawCam need Multiple copies of Java?
With that said...
As you pointed out, a contributing problem is also that this version of Yawcam don't support multiple devices.
The overhead could be reduced if we don't have to run multiple instances at the same time.
As a teaser, the next (unreleased) version of Yawcam dedicated for surveillance will have support for multiple devices. What program are you using that needs Yawcam to connect to the USB cameras?
/malun
As you pointed out, a contributing problem is also that this version of Yawcam don't support multiple devices.
The overhead could be reduced if we don't have to run multiple instances at the same time.
As a teaser, the next (unreleased) version of Yawcam dedicated for surveillance will have support for multiple devices. What program are you using that needs Yawcam to connect to the USB cameras?
/malun
Re: Multiple copies of YawCam need Multiple copies of Java?
ohhhh nice !!
Can you say more about the next version ? (maybe in a dedicated post)
Can you say more about the next version ? (maybe in a dedicated post)
Re: Multiple copies of YawCam need Multiple copies of Java?
I'll post more info soon when the new version is closer to getting ready for a beta-release.
Hopefully some of you will help me test the new version and track down the initial bugs before a real release![Very Happy :D](./images/smilies/icon_biggrin.gif)
/malun
Hopefully some of you will help me test the new version and track down the initial bugs before a real release
![Very Happy :D](./images/smilies/icon_biggrin.gif)
/malun