[mapguide-users] MgException - MgOutofMememory - Out of memory.
Bruce Dechant
bruce.dechant at autodesk.com
Fri Dec 15 21:52:17 EST 2006
Kori,
Can you clarify which version of MapGuide you are using? This will help identify whether some of the memory leak issues have been fixed or have not been fixed yet in the build you are using.
Thanks,
Bruce
-----Original Message-----
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com]
Sent: Fri 12/15/2006 6:24 PM
To: users at mapguide.osgeo.org
Cc:
Subject: RE: [mapguide-users] MgException - MgOutofMememory - Out of memory.
The memory usage does increase slightly overtime.
Over a 45 minute time period it went from an average of 291000 to 301000 k -
that's about 2000 tiles. It is still increasing slowly.
I will be running it over the weekend and monitor the memory usage as best I
can.
I can specify my starting tile column when I restart, so I do not have to
redo any processing when it throws the error.
Thanks Walt,
Cheers,
Kori
_____
From: Walt Welton-Lair [mailto:walt.welton-lair at autodesk.com]
Sent: December 15, 2006 4:19 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MgException - MgOutofMememory - Out of memory.
Does the server memory usage slowly increase with time? What is it after
generating 1000 / 2000 / 3000 tiles? If you're generating tiles
sequentially the memory should remain relatively flat. I wouldn't be
surprised if there are still some leaks we have to track down.
Walt
_____
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com]
Sent: Saturday, December 16, 2006 1:12 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MgException - MgOutofMememory - Out of memory.
Upped the page file size. Hopefully that is the issue.
Cheers,
_____
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com]
Sent: December 15, 2006 11:05 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MgException - MgOutofMememory - Out of memory.
Here is the stack trace on that:
<2006-12-15T05:10:54> Administrator
Error: Failed to stylize layer: 100K_Urban_California
An unclassified exception occurred.
StackTrace:
- MgStylizationUtil.StylizeLayers line 993 file
c:\build_tux_area\mgdev\server\src\services\mapping\StylizationUtil.cpp
Failed to stylize layer: 100K_Urban_California
An unclassified exception occurred.
<2006-12-15T05:10:54> Administrator
Error: Failed to stylize layer: 2M_ocean_mask_California
Out of memory.
bad allocation
StackTrace:
- MgStylizationUtil.StylizeLayers line 993 file
c:\build_tux_area\mgdev\server\src\services\mapping\StylizationUtil.cpp
Failed to stylize layer: 2M_ocean_mask_California
Out of memory.
bad allocation
<2006-12-15T05:10:54> Administrator
Error: Out of memory.
bad allocation
StackTrace:
- MgTileServiceHandler.ProcessOperation line 83 file
c:\build_tux_area\mgdev\server\src\services\tile\TileServiceHandler.cpp
- MgOpGetTile.Execute line 97 file
c:\build_tux_area\mgdev\server\src\services\tile\OpGetTile.cpp
- MgServerTileService.GetTile line 85 file
c:\build_tux_area\mgdev\server\src\services\tile\ServerTileService.cpp
- MgServerTileService.SetTile line 119 file
c:\build_tux_area\mgdev\server\src\services\tile\ServerTileService.cpp
- MgByteSink::ToFile line 245 file
c:\build_tux_area\mgdev\common\service\data\ByteSink.cpp Out of memory.
bad allocation
_____
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
_____
_____
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com]
Sent: December 15, 2006 10:29 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] MgException - MgOutofMememory - Out of memory.
Hi all,
I am in the process of error trapping a tiling process in an application
using the MgTileService Class.
I am sequentially executing the GetTile function over a long duration.
I am encountering a "Out of memory." Error after 3.5 hours of processing
time on trial runs.
During each trial:
- The error occurred after the same length of time
- 5000 to 7000 tiles have been retrieved (the difference I am
assuming being a result of the variance in the amount of features required
to build the tile)
- the last file being written is 0 kb ( I am assuming it was opened
for writing as the error occurred)
- the MapGuide Server service was running but non-responsive and
had to be restarted
Is this error a result of the following:
- file I/O write issue?
- too many tile requests in the queue or being made too often?
- Something specific to the RAM on the machine I am running the
process on?
Is there a way to trap this and recover?
Anybody have any recommendations?
Cheers,
_____
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
_____
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7696 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061215/8bc800b7/attachment.bin
More information about the Mapguide-users
mailing list