Out of memory fatal error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI,
I'm developping a VBA macro (32 bits - AutoCAD 2010) that convert splines to 1 polyline. It is a form lines (courbes de niveau in French) drawing. There approximatively 10000 splines in the drawing. After converting about 3000 splines I've got a fatal error and AutoCAD close. I have 4Go of memory on Windows Vista, but I have the same problem in a virtual machines running Windows XP.
My routine convert a spline to pline and check if another spline is attached to. If so, I convert the spline to a pline and create a new polyline including the two previous one and I delete the first one (I try the add vertex method but it was so slow, I found the approach to recreate a new polyline faster). I take care to release each object to Nothing. I do that in loop until anymore spline is found. I revise my code many times and everything seems ok. When I run the routine on a smaller drawing, it works.
Anybody have an idea?
Regards,
André