English

Error: MEMGET ERROR (ALGET) Invalid index into memory channel: -1 (MEM_Get)

Error Message

The following error occurs while running ARC CLEAN or BUILD:

"Assembling polygons...
Invalid index into memory channel: -1 (MEM_Get)
FATAL ERROR
MEMGET ERROR (ALGET)
Bailing out of BUILD"

Cause

Incorrect information is sometimes written to the coverage mask file, msk or msk.adf, when polygon features are edited.

Solution or Workaround

Select an option below.

  • Delete the mask file.

    1. Use the ARC's COPY command to make a copy of the original coverage.
    2. Delete the copied coverage's mask file.

    Arc: workspace
    Current location: c:\users\testworkspace
    Arc: listcoverages
    Workspace: C:\USERS\TESTWORKSPACE

    Available Coverages
    -------------------
    MY_COVERAGE

    Arc: quit
    Leaving ARC ...

    C:\users>cd testworkspace

    C:\Users\testworkspace>cd my_coverage

    C:\Users\testworkspace\my_coverage>dir
    Volume in drive C has no label.
    Volume Serial Number is A55-DD

    Directory of C:\Users\testworkspace\my_coverage

    09/13/00 10:40a .
    09/13/00 10:40a ..
    09/13/00 10:40a 172 arc.adf
    09/13/00 10:40a 108 arx.adf
    09/13/00 10:40a 16 bnd.adf
    09/13/00 10:40a 144 cnt.adf
    09/13/00 10:40a 116 cnx.adf
    09/13/00 10:40a 132 lab.adf
    09/13/00 10:40a 97 log
    09/13/00 10:46a 6 msk.adf
    09/13/00 10:40a 192 pal.adf
    09/13/00 10:40a 32 pat.adf
    09/13/00 10:40a 116 pax.adf
    09/13/00 10:40a 48 tic.adf
    09/13/00 10:40a 120 tol.adf
    14 File(s) 1,299 bytes
    2,979,298,816 bytes free

    C:\Users\chuckg\testworkspace\my_coverage>del msk.adf

    C:\Users\chuckg\testworkspace\my_coverage>cd ..

    C:\Users\chuckg\testworkspace>

    Note: On UNIX, use ls to list the files under the coverage
    directory and rm to delete the msk.adf.


    3. Use ARC CLEAN or BUILD to process the copied coverage.
    Deleting the mask file causes the ARC BUILD and CLEAN commands to do a full build or clean rather than attempting to use a faster but more complicated partial build method.
  • Use ARCEDIT BUILD or CLEAN if the coverage contains polygons.

    Note:
    The ARCEDIT BUILD and CLEAN commands do not use the mask file.