Hi All,
I am recording a video with the settings set to high quality.
Titanium.Media.showCamera({ success: function(event) { movieFile = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, 'movie.mp4'); movieFile.write(video); }, cancel: function() { }, error: function(error) { }, mediaTypes: Titanium.Media.MEDIA_TYPE_VIDEO, videoMaximumDuration: 1200000000, videoQuality: Titanium.Media.QUALITY_HIGH });I am then trying to upload the video file that is around 200mb for a 2 minute recording.
It works fine on the simulator it will upload without a problem but on the device i get this error.
(199,0x4c2b000) malloc: *** mach_vm_map(size=340750336) failed (error code=3) [INFO] : *** error: can't allocate region [INFO] : *** set a breakpoint in malloc_error_break to debugCan anyone give me some info on what this error might be and if anyone else experiences problems with large file uploads.
Thanks