octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53898] [octave forge] (mapping) Out of memory


From: anonymous
Subject: [Octave-bug-tracker] [bug #53898] [octave forge] (mapping) Out of memory error in shapewrite
Date: Mon, 14 May 2018 06:11:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53898>

                 Summary: [octave forge] (mapping) Out of memory error in
shapewrite
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 14 May 2018 10:11:45 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Matthew Parkan
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hi all,

Using the latest snapshot version of the Mapping package, I get an out of
memory error with shapewrite, when trying to write a large file.

The out of memory error comes from line 158:


    ## "Point" need not have a BoundingBox field => add a dummy if not found
    if (stype == 1 && ! ismember ("BoundingBox", fldn))
      
      [shp.BoundingBox] = deal (repmat (zeros (2, 2), numel (shp)));

    endif


The error can be avoided by changing the line to:


[shp.BoundingBox] = deal([0,0;0,0]);





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53898>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]