On 12 December 2011 17:25, writeson <[email protected]> wrote:
> I've got a pylons application that's got a memory leak, I think from
> Ajax/JSON calls coming from the application JavaScript. How do I go
> about debugging/finding this problem? I've read some stuff online
> about using Dozer, but have not had any luck getting that running in
> my Pylons application. If someone could offer me some help,
> suggestions or pointers that would be greatly appreciated!
Which JSON library are you using?
If it's a bug in the C-code, then you could try (locally) doing the
read/write operations a high (redundant) number of times, e.g.
for i in xrange(1000): data = loads(json_data)
That should accelerate the issue.
But you might simply be adding to e.g. a global, mutable structure
(for instance a list set on a class).
\malthe
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.