Post by James Grubbs (Jimmy) on Apr 9, 2019 21:57:05 GMT -5
Is there a limit to the size of file that LB 4.5.1 can handle? I know there is a memory cap due to windows limitations. My file packager crashes when packaging several large movie files. I cut the files up into pieces that LB seems to handle fine but it always crashes on the third movie file. The file seems to get to around 4gb in size before the crash.
the error I get is (Runtime error: Invalid argument #2. Expected #long
). If I package just the file it crashes on alone, there is no problem. I just now saw something interesting, It doesn't matter what movie files I pack, when the size of the file reaches 4,194,304kb it crashes. My system flakes out a little also, Like I have pushed memory limits and it practically has to restart without actually shutting down. I bet I'm doing something stoooopid but don't know what.
Error log timestamp Tuesday 04/09/19 04:45:23 PM
Runtime error: Invalid argument #2. Expected #long
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'Invalid argument #2....'>
BasicProgram(Object)>>error: <'Invalid argument #2....'>
BasicProgram>>terminateRun: <anAPICallInvalidArgumentType>
[] in BasicProgram>>errorHandlerBlock
ExceptionHandler>>evaluateResponseBlock: <aBlockClosure> for: <anAPICallInvalidArgumentType>
[] in ExceptionHandler>>handle:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>handle: <anAPICallInvalidArgumentType>
ExceptionHandler>>findHandler: <anAPICallInvalidArgumentType>
APICallInvalidArgumentType(Exception)>>activateHandler: <anExceptionHandler>
APICallInvalidArgumentType(Exception)>>handle
APICallInvalidArgumentType(Exception)>>signal
KernelDLL(DynamicLinkLibrary)>>invalidArgument
KernelDLL>>setFilePointer: <aFileHandle> offset: <4294967296> offsetHigh: <aByteArray> move: <0>
FileHandle>>readInto: <'a抪«…mm…äk%’$ž6...'> atPage: <1048576> pageSize: <4096>
FileHandle>>readInto: <'a抪«…mm…äk%’$ž6...'> atPosition: <4294967296>
File>>readBuffer: <'a抪«…mm…äk%’$ž6...'> atPosition: <4294967297>
FileStream>>position: <4294967296>
FileStream>>putBytesFrom: <'½ L\âµ_«üê;©Êr''5f...'> from: <1> to: <250000000>
FileStream(WriteStream)>>putBytesFrom: <'½ L\âµ_«üê;©Êr''5f...'>
FileStream>>nextPutAll: <'½ L\âµ_«üê;©Êr''5f...'>
BasicFile>>writeItem: <'½ L\âµ_«üê;©Êr''5f...'>
BasicFile>>writeItemCr: <'½ L\âµ_«üê;©Êr''5f...'>
[] in PrintCommand>>deviceCr:handle:
BlockClosure>>value: <aBasicProgram> value: <'#2'> value: <aBasicStringContext>
BasicTripleParameterContextHolder>>value
[] in BasicProgram>>begin
ExceptionHandler>>evaluateProtectedBlock: <aBlockClosure>
[] in ExceptionHandler>>activateDuring:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>activateDuring: <aBlockClosure>
ExceptionHandler class>>handle: <anError class> with: <aBlockClosure> during: <aBlockClosure>
BlockClosure>>on: <anError class> do: <aBlockClosure>
BasicProgram>>begin
BasicProgram>>gotoAndIfStoppedBegin: <'[createPackage]'>
BasicProgram>>handlerName: <'[createPackage]'> evaluate: <aBlockClosure> callParameters: <anOrderedCollection>
BasicProgram>>submitHandlerName: <'[createPackage]'> evaluate: <aBlockClosure> callParameters: <anOrderedCollection>
BasicProgram>>submitHandlerName: <'[createPackage]'> callParameters: <anOrderedCollection>
LibButton>>click
BasicGraphicDevice>>click: <aLibButton>
LibButton(Button)>>click: <aLibButton>
Message>>perform
Message>>evaluate
LibButton(Object)>>triggerEvent: <#clicked>
the error I get is (Runtime error: Invalid argument #2. Expected #long
). If I package just the file it crashes on alone, there is no problem. I just now saw something interesting, It doesn't matter what movie files I pack, when the size of the file reaches 4,194,304kb it crashes. My system flakes out a little also, Like I have pushed memory limits and it practically has to restart without actually shutting down. I bet I'm doing something stoooopid but don't know what.
Error log timestamp Tuesday 04/09/19 04:45:23 PM
Runtime error: Invalid argument #2. Expected #long
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'Invalid argument #2....'>
BasicProgram(Object)>>error: <'Invalid argument #2....'>
BasicProgram>>terminateRun: <anAPICallInvalidArgumentType>
[] in BasicProgram>>errorHandlerBlock
ExceptionHandler>>evaluateResponseBlock: <aBlockClosure> for: <anAPICallInvalidArgumentType>
[] in ExceptionHandler>>handle:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>handle: <anAPICallInvalidArgumentType>
ExceptionHandler>>findHandler: <anAPICallInvalidArgumentType>
APICallInvalidArgumentType(Exception)>>activateHandler: <anExceptionHandler>
APICallInvalidArgumentType(Exception)>>handle
APICallInvalidArgumentType(Exception)>>signal
KernelDLL(DynamicLinkLibrary)>>invalidArgument
KernelDLL>>setFilePointer: <aFileHandle> offset: <4294967296> offsetHigh: <aByteArray> move: <0>
FileHandle>>readInto: <'a抪«…mm…äk%’$ž6...'> atPage: <1048576> pageSize: <4096>
FileHandle>>readInto: <'a抪«…mm…äk%’$ž6...'> atPosition: <4294967296>
File>>readBuffer: <'a抪«…mm…äk%’$ž6...'> atPosition: <4294967297>
FileStream>>position: <4294967296>
FileStream>>putBytesFrom: <'½ L\âµ_«üê;©Êr''5f...'> from: <1> to: <250000000>
FileStream(WriteStream)>>putBytesFrom: <'½ L\âµ_«üê;©Êr''5f...'>
FileStream>>nextPutAll: <'½ L\âµ_«üê;©Êr''5f...'>
BasicFile>>writeItem: <'½ L\âµ_«üê;©Êr''5f...'>
BasicFile>>writeItemCr: <'½ L\âµ_«üê;©Êr''5f...'>
[] in PrintCommand>>deviceCr:handle:
BlockClosure>>value: <aBasicProgram> value: <'#2'> value: <aBasicStringContext>
BasicTripleParameterContextHolder>>value
[] in BasicProgram>>begin
ExceptionHandler>>evaluateProtectedBlock: <aBlockClosure>
[] in ExceptionHandler>>activateDuring:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>activateDuring: <aBlockClosure>
ExceptionHandler class>>handle: <anError class> with: <aBlockClosure> during: <aBlockClosure>
BlockClosure>>on: <anError class> do: <aBlockClosure>
BasicProgram>>begin
BasicProgram>>gotoAndIfStoppedBegin: <'[createPackage]'>
BasicProgram>>handlerName: <'[createPackage]'> evaluate: <aBlockClosure> callParameters: <anOrderedCollection>
BasicProgram>>submitHandlerName: <'[createPackage]'> evaluate: <aBlockClosure> callParameters: <anOrderedCollection>
BasicProgram>>submitHandlerName: <'[createPackage]'> callParameters: <anOrderedCollection>
LibButton>>click
BasicGraphicDevice>>click: <aLibButton>
LibButton(Button)>>click: <aLibButton>
Message>>perform
Message>>evaluate
LibButton(Object)>>triggerEvent: <#clicked>