VB/VBA, AutoCAD & Memory

Discussion in 'AutoCAD' started by user0, Feb 4, 2004.

  1. user0

    user0 Guest

    Has anyone else be doing a lot of batch processing with VBA? My VBA app opens a database and cycles through the records. For each record it creates a map (with map functions) based on record values and plots to DWF. The program can only go so far through the database before all my physical memory is exhausted and AutoCAD stops.

    Does anyone know of a way to, at least, check on system memory, or at best to release the memory so my app can keep going?

    Thanks,
    Rick
     
    user0, Feb 4, 2004
    #1
  2. Without seeing code, etc., it's hard to say. You can start by explicitly
    setting all of your objects to nothing as the go out of focus.
    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Feb 4, 2004
    #2
  3. user0

    user0 Guest

    Thank you. I'll start there!
     
    user0, Feb 4, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.