[mapguide-users] MG Error Out of memory, bad allocation
Dave Wilson
dave.wilson at autodesk.com
Tue Jul 21 10:47:09 EDT 2009
Can you confirm if your TIFF files are tiled tiff? If they aren't then the system will be slow as it converts them on the fly.
How many tiles should be shown at the 1:2000 scale? I'm guessing this should only be a small subset and hence it should be quick.
I think Stefan's suggestion is a good one, in particular for the ecw.
What tool are you using to convert the files? Are people using FW Tools or something else?
Dave
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Stefan Dalakov
Sent: Tuesday, July 21, 2009 6:30 AM
To: juergen.konradt at bluewin.ch; MapGuide Users Mail List
Subject: Re: [mapguide-users] MG Error Out of memory, bad allocation
Hi Jürgen
One of the options may be to merge together files.
I have an image, 32000x16000 tiled RGB tiff, 1.7GB in size which is
served like a lightning by an old computer, not even designed to be a
server, with 1.5 GB of RAM.
Software configuration - same as yours.
By merging rasters you can reduce the number of files almost 60 times,
which means that you will have 15-20 files, roughly.
Of course, you know better, if your project allows this, but in general,
MGOS seems to handle easier a small number of big files, rather than a
big number of small files.
Best regards : Stefan Dalakov
juergen.konradt at bluewin.ch wrote:
> Hi,
>
> I have a problem with a rasterlayer (not tiled).
> It is a layer using about 1000 TIFF-Files (RGB, 3000x3000 pixel, scale 1:1000).
> The visibility of the layer is 1:100 to 1:5000.
> If I load the map (sacle 1:2000) I get the error: Out of memory. bad allocation.
> If I reduce the number of tiff-files in the folder (500) I get no error but the map is loading very, very slow.
> If I change the format from tiff to jpg or ecw (all 1000 files) I get no error but the map is also very slow.
> I get the same error with Autodesk Raster FDO and OSGEO Gdal
>
> MGOS 2.02 or MGOS 2.1.0 Beta
> W2003 Server SP2
> IIS 6.0
> AjaxViewer (JSP)
>
> is there any solution for this problem?
>
> Jürgen
>
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list