lothos12345 Posted April 11, 2005 Posted April 11, 2005 In my VB.NET application on occasion when I try to print directly to a printer I get the error "not enough memory". But I have more than enough memory and the application is not that intesive is there anything else that could be the problem? Quote
Afraits Posted April 11, 2005 Posted April 11, 2005 Memory leak, lack of disk space (affects Windows swap file), lack of memory on the printer, recursive functions being called to many times, or just a (un)helpful microsoft error that atually means something else. If its intermittent a memory leak or a recursive function call going wrong are most likely candidates. Quote Afraits "The avalanche has started, it is too late for the pebbles to vote"
Administrators PlausiblyDamp Posted April 11, 2005 Administrators Posted April 11, 2005 Does this error occur randomly or after the application has been running for a while or after several attempts have been made to print? If so it could be a case of you not correctly freeing up the resources you are using during the printing (Pens, brushes, graphics objects etc). Could you post the relevant printing code (or at least the bits where you allocate / free resources) as this may help people to identify the problem. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.