  | |  | URGENT: Flash embedded in C++ Memory Access Violation- common | URGENT: Flash embedded in C++ Memory Access Violation- common 2004-03-12 - By Emile Swain
Back If you have any setintervals in your code double check your clearing them properly. Although I know very little about C I do know there used to be a problem where by if you didn't clear an interval it and then set it again you would create multiple instances, consequently memory usage would go through the roof.
Also whatch out for setintervals in movieclips that are attached and removed, If you remove a movieclip always clear any set intervals within it first.
A screensaver I created which we tested took up 68mb of memory, I imagine that if this was within a C app and you didn't cap the amount of memory your flash could use you would kill it.
Hope that helps. Emile
-- --Original Message-- -- From: Mike Mountain [mailto:mike.mountain@(protected)] Sent: 12 March 2004 12:02 To: flashcoders@(protected) Subject: [Flashcoders] URGENT: Flash embedded in C++ Memory Access Violation- common causes?
Folks
Any Idea under what circumstances a swf embedded (via ActiveX) in C could cause exception errors (Memory Access Violations) and if there is any way to trap them?
We have an app that ran from 11am - and crashed with such an error at 4am the following morning - it wasn't doing anything it hadn't already done a hundred times that day as far as we can tell.
Any help on this would be very appreciated.
Cheers
M
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106738 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106739 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |