|
From: Andrew R. <and...@gm...> - 2007-08-04 13:51:40
|
Hi, I have a simple app which runs a timer task at scheduled intervals and reads files off of the file system into a byte array and then does some other processing (not relevant). When run as a service on a windows machine (using the simple wrapper method), I get an IOException - Insufficient system resources exist to complete the requested service for large files. Large seems to be anything above 66 Mb and always causes the same error message. I adjusted the jvm min/max to 64 and 512 (and 1024), with still the same result. The exception is thrown when reading the file into the byte array. It reads smaller files no problem. I'm not sure if it is related to jsw, but I tested the same file reader function code outside jsw and could read a 320 Mb file Ok with same jvm params, hence why I posted this message. Grateful for any thoughts on this. Andy |