lxndrrms / ispyconnect

Automatically exported from code.google.com/p/ispyconnect
0 stars 0 forks source link

Continues crashes #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open iSpy 
2. Let it Run for a while
3. Crash

What is the expected output? What do you see instead?
Working

What version of the product are you using? On what operating system?
iSpy 4.5.4.0
on Win 7 64bit

Please provide any additional information below.

Machine Configuration
CPU intel Core2 Quad Core Q9650 @ 3.0Ghz
RAM 8GB
OS Win 7 Ultimate SP1 64bit

iSpy configured monitoring 13 IpCam (640x480) 7 recordin 24/7 5 recording 8h 
per day 5 days x week (max frame rate set at 5 fps recording and maximum)

When the problem starts some of the cameras get gray and and after a little on 
the top let the message "out of memory" is displayed.

The crash is more frequent when all the camera are recordin CPU never exceed 
60% average is about 50%.
Memory usage about 1.2Gb 

Also the Windows Log shows the fallowing errors:
1)
Application: ispy.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at <Module>.avcodec_encode_video(libffmpeg.AVCodecContext*, Byte*, Int32, libffmpeg.AVFrame*)
   at <Module>.AForge.Video.FFMPEG.?A0xc4d7e875.write_video_frame(AForge.Video.FFMPEG.WriterPrivateData)
   at AForge.Video.FFMPEG.VideoFileWriter.WriteVideoFrame(System.Drawing.Bitmap, System.TimeSpan)
   at iSpyApplication.CameraWindow.Record()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

and immediatly after
2)
Faulting application name: ispy.exe, version: 4.5.3.0, time stamp: 0x50495831
Faulting module name: avcodec-53.dll, version: 0.0.0.0, time stamp: 0x4ed5c5b7
Exception code: 0xc0000005
Fault offset: 0x005efb2f
Faulting process id: 0x194c
Faulting application start time: 0x01cd955b9d3d15d4
Faulting application path: C:\program files (x86)\ispy\ispy\ispy.exe
Faulting module path: C:\Program Files (x86)\iSpy\iSpy\avcodec-53.dll
Report Id: 8a072dd1-014f-11e2-abfd-0019d19ee5b3

Original issue reported on code.google.com by luig...@gmail.com on 18 Sep 2012 at 9:17

GoogleCodeExporter commented 9 years ago
You're overloading your PC - transcoding to mp4 and recording 7 live streams to 
disk 24/7 is a lot of work - when your computer runs a disk check or takes 
exclusive access of the hard drive ispy will not be able to write to disk and 
video gets buffered in memory instead which will result in the memory error you 
are seeing.

Original comment by ad...@developerinabox.com on 20 Sep 2012 at 9:41

GoogleCodeExporter commented 9 years ago
There is any possible solution to this? Is only recording at 5fps.

Please let me know.
Thanks
Luigi

Original comment by luig...@gmail.com on 20 Sep 2012 at 9:59

GoogleCodeExporter commented 9 years ago
I'm pretty sure that overloading is the issue - that error is coming from an 
FFMPEG file. The solution is to split the workload between 2 pcs

Original comment by ad...@developerinabox.com on 24 Sep 2012 at 11:14