By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,650 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,650 IT Pros & Developers. It's quick & easy.

capture image from webcam using java

P: 1
In my java application i am using webcam to capture image and save into DB. this is working upto take 4 or 5 images after that ,its showing "Java Heap Space Error" below error

java.lang.OutOfMemoryError: Java heap space
at .java:228)
at ss(
at 135)

Exception in thread "VFW Request Thread" java.lang.OutOfMemoryError: Java heap space
at ct(

after that i try to click means its showing some errors. i can't to find the problem. could any one help me please. Advance in thanks
Nov 7 '12 #1
Share this Question
Share on Google+
2 Replies

P: 2
It's OutOfMemoryError. I think you forgot to release your image memory after saving it to DB. Could you post the code about how you capture image from webcam?
Mar 18 '14 #2

Expert Mod 5K+
P: 9,731
It would help people to give you an answer to your question if you posted the code that causes the error.
Mar 19 '14 #3

Post your reply

Sign in to post your reply or Sign up for a free account.