when i run my setup at client place after working with 10 minutes it gives the memory overflow error. then it closes.
i have checked all my variables and deleted unused ones....
even its giving such an error...
need is a solution for this...
thanks in advance...
violet
[Edited by violet on 28-09-2005 at 02:14 PM GMT]
28-09-2005 at 02:12 PM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: memory overflow error
Hi Violet,
This is a problem that's very hard to track down.
Memory overflow, is not usually caused by using too many variables, more likely a calculation that is too big. Check any multiples or divides and what you are storing the results in.
Add error-handling to your routines in order to attempt to track down the problem.
Let us know how this goes.
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
i am using only a simple calculations....how can i handle those errors through exceptoins...
also i code on error resume next..
after putting this code application qutomatically gets closed.....by giving error like operation performed illegal operation.......
violet
29-09-2005 at 10:05 AM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: memory overflow error
Hi Violet,
Is there any chance that you can post the software up on this site?
Do you get the same problem on your machine?
It may be a third-party control that is causing the issue (ie. incorrect version of MSOffice or Internet Explorer, or not all DLLs & OCXs have registered correctly on the target machine).
Can you give a description of what your software uses (ie. SQL, Access, MS Common Controls, etc.) and what it is doing when this occurs?
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
when i run the forms it doesnt give msg like this. if i run the report 2 or 3 times it gives memory overflow..
i gave on error ersume next... now that error not coming..
now it gives me operation performed illegal operation.. liket his and application closes...
when i run the reports only it gives his pbm.. if i didnt run any reports no pbm occurs.....
help pls.
violet
29-09-2005 at 02:55 PM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: memory overflow error
Hi Violet,
unfortunately, I am not used to the Data Reports, and don't want to risk giving you incorrect advice, so have moved the topic to reporting.
I hope someone there can help you.
Kieron
[Edited by stickleprojects on 29-09-2005 at 03:51 PM GMT]
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)