borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How to add a section in crystal report through VB6)Next Topic (Having Different Footer of Different size on Crystal report Pages) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : memory overflow error
Poster Message
violet
Level: Scholar

Registered: 08-07-2005
Posts: 38

icon memory overflow error

hi all

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
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon 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)

28-09-2005 at 03:00 PM
View Profile Send Email to User Show All Posts | Quote Reply
violet
Level: Scholar

Registered: 08-07-2005
Posts: 38
icon Re: memory overflow error


hi Kieron


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
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon 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)

29-09-2005 at 12:08 PM
View Profile Send Email to User Show All Posts | Quote Reply
violet
Level: Scholar

Registered: 08-07-2005
Posts: 38
icon Re: memory overflow error

hi Kieron

iam using Access. iam using datareport..

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
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon 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)

29-09-2005 at 03:41 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : memory overflow error
Previous Topic (How to add a section in crystal report through VB6)Next Topic (Having Different Footer of Different size on Crystal report Pages) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder