X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 Aug 2008 09:16 AM by  anon
Unable to allocate memory: to make array. Not enough space
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
25 Aug 2008 09:16 AM
    Hello! I'm working with IDL/ENVI in the processing of TerraSAR Images When I run my program I obtain the error: "Unable to allocate memory: to make array. Not enough space" The error occurs when I try to make this instruction: LocalThresholdResultsFinal = [[LocalThresholdResultsFinal], REPLICATE({LocalThresholdResultsFinal}, IndTmpGrowSize[1])] where LocalThresholdResultsFinal = {LocalThresholdResultsFinal, ind:UINTARR(2, 1),CFARResultsNmog:0L, CFARResultsPar_mog:DBLARR(LocalThresholdLocalFitnmod,3),CFARResultsLike:0d ,CFARResultsPixelIntensity:0L, CFARResultsLocalThreshold:0L} and IndTmpGrowSize[1] = 6787536 How can I solve this problem? Tks, Sara

    Deleted User



    New Member


    Posts:
    New Member


    --
    07 Nov 2008 05:52 AM
    I'm very new to ENVI, and having a simlar problem. The error message I get is :'Unable to allocate memory to make array. Please contact the supplier of the application.'. I contacted them but have heard nothing back in 2 days. I'm just using the ENVI interface (not coding in IDL, and I'm trying to save an ROI I made off a DEM to an EVF file, and it gives me the error message then crashes. I have no other processes running at the same time, 2GB of RAM. Please help!

    Deleted User



    New Member


    Posts:
    New Member


    --
    09 Nov 2008 03:22 AM
    I think you can partition the data by tile method spatial or spectral

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Nov 2008 11:12 AM
    You get this error when you try to allcate an array that is too large to fit into memory.  To avoid this, you can use ENVI's tiling routines when you process your data.  Have a look in the help regarding 'Tiled processing'.
    You are not authorized to post a reply.