[postgis-users] Help please

Zamil Murji Zamil.Murji at divestco.com
Tue Aug 12 16:23:15 PDT 2003


Valgrind heh? I'll give that a shot. How do i "run my request" through it? Can i pass it a url. Everything to date as been printed to stderr which happens to be the apache error log for me. 

Thanks
Zamil

-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, August 12, 2003 4:52 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Help please


Zamil Murji wrote:

> Hello all,
> 
> I'm making some changes to the mapserver code (mappostgis.c). Funny thing, as I add print statements and recompile I get fewer and fewer records returned from my nquery command. I used to get 41 records returned before it hangs and now I get 5. I haven't changed anything to the mapserver code directly. What could this possibly be related too? Memory errors?
> 

Sounds very much like a memory issue and you could run after it for days 
like this.  If you're on Linux then you could install Valgrind 
(http://developer.kde.org/~sewardj/) and run your request in Valgrind at 
the command-line.  You'll be amazed by this tool, it should point you in 
the right direction in a few minutes.  If you're on Windows then you 
could try Purify from http://www.rational.com/

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list