Limitations of a folder

Discussion in 'AutoCAD' started by RaghuMN, Nov 30, 2004.

  1. RaghuMN

    RaghuMN Guest

    Hi all,

    I have a large drawing, which I clip into number of pieces (wblocks), say 800, stored in the same folder as that of the original drawing.
    At certan number of drawings, I get the access violation error and the process terminates.

    I made this drawing into two pieces, each one in a different folder and successfully clipped them individually.

    In this context, I felt that there should be some limitations attached to a folder with the number of files that can be stored or some other unknown reason.

    Do any one have got such observations regarding the limitations posed by a folder?

    Thanks for any suggestions.

    MNRaghu
     
    RaghuMN, Nov 30, 2004
    #1
  2. RaghuMN

    ECCAD Guest

    Somebody will probably correct me..but as far as I know,
    a Disk Drive Root (i.e. C:\ ) can have a Maximum of 112 entries. A sub-directory (i.e. C:\\TEMP\\ ) can contain unlimited
    amount (till you run out of disk space). The FAT (file allocation table) controls the number of individual 'files' in each location.
    I would guess that your 'program' to wblock the pieces..may
    have a looping problem, perhaps trying to wblock an existing
    filename.dwg (that exists, or is opened). ? Other than that, it
    should work.

    Bob
     
    ECCAD, Nov 30, 2004
    #2
  3. RaghuMN

    RaghuMN Guest

    Bob, thanks for the information. The limitations of Disk Drive Root seems to be correct, but I have a doubt on the capacity of sub-fodlers.

    The program that I use for clipping does not have any limitations and I have ensured that there are no existing files of the same name when a wblock is being created.

    Hope others would add their experience regarding this issue.

    Thanks again Bob,

    MNRaghu
     
    RaghuMN, Dec 1, 2004
    #3
  4. RaghuMN

    ECCAD Guest

    Hmmm. I just checked my Windows\Temp\ folder.
    Did a 'ctrl' A, to select all. Got 2004 objects..this should
    be enough for your 800 blocks ?

    Bob
     
    ECCAD, Dec 1, 2004
    #4
  5. RaghuMN

    RaghuMN Guest

    Bob, I have also observed that there can be any number of files in a sub folder.

    But, I am unable to understand why the program fails, sometimes at around 800th wblock, sometimes at around 600th wblock, but not at the same number. This happens on the same drawing.

    Could it be that, before completing the storing process of previous wblock, the next is been tried to write at the same location? Just a guess.

    Thanks,

    MNRaghu
     
    RaghuMN, Dec 2, 2004
    #5
  6. RaghuMN

    ECCAD Guest

    No. Windows handles all that in the pipeline. Each 'file' to store
    has several 'internal' OS operations. First, find open segment,
    sync, check room, make file-handle, write file, close file, release handle. Next.(if any).

    You may want to experiment - using a While loop, set a counter to 0, wblock (say 5 files), count + 1, if count = 10, (50 files), do another 'loop' that does nothing..just do:
    (setq z 0)
    (While (< z 10000)
    (setq z (+ z 1))
    ); while
    Then, continue wblock operations.
    Probably won't fix the problem, but you are then assured it
    is not a 'I have to wait for file to save' type of problem.
    Bob
     
    ECCAD, Dec 2, 2004
    #6
  7. RaghuMN

    ECCAD Guest

    Do you have 'autosave' ON, and saving (opened) drawing ?
    This may be a problem ?
    Bob
     
    ECCAD, Dec 2, 2004
    #7
  8. RaghuMN

    RaghuMN Guest

    Bob, thanks for your informations.

    It is not the autosave problem, but I am not sure of the source or error.

    Since I am unable to understand myself on the source of error, I am unable to explain more about this error.
    I will make some more efforts to find the source of error and come back.

    Thanks for the support extended.

    MNRaghu
     
    RaghuMN, Dec 4, 2004
    #8
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.