--- Log opened Mon Dec 28 00:00:27 2009
00:23 < stepcut> McManiaC: use,  withMeteData to set the doctype
00:27 < stepcut> McManiaC: regarding hthe [HSX.Child (HSPT' IO)] vs XML error, I would have to see the code.. but it probably a valid type error
02:34 < stepcut> ooo. HSX now works with the latest haskell-src-exts
08:44 < McManiaC> this is weird
08:45 < McManiaC> a <div></div> gets rendered as "<div /></div>" by HSP
08:45 < McManiaC> :O
08:57 < McManiaC> what "preferredRenderer" do you use with XMLMetaData ?
08:57 < McManiaC> renderXML seems to act weird
09:00 < McManiaC> renderAsHTML too :S
10:11 < McManiaC> can someone tell me why firefox shows these select box option entries next to each other instead of below of each other?? http://npaste.de/9C/
10:13 < McManiaC> ah got it
10:14 < McManiaC> stupid css
10:14 < McManiaC> ^^
12:24 < mikste> l-in-depth
15:55 < McManiaC> hmmm
15:56 < McManiaC> my happstack app seems to have a memory leak :S
15:58 < McManiaC> it goes up a few 100kb to ~1mb every time a new page gets loaded... I stopped it at >200mb ram usage earlier :O
15:58 < McManiaC> usually its at about ~20mb
15:58 < mightybyte> I've had significant memory issues in my Happstack app.
15:59 < mightybyte> Probably mostly due to my in-memory representation that I use with happstack-state.
16:00 < stepcut> McManiaC: yay!
16:00 < mightybyte> But memory usage always seems to level off.
16:00 < McManiaC> the state doesnt get changed when I just load some pages tho
16:00 < mightybyte> I haven't noticed anything like that regarding page loads.
16:00 < mightybyte> Mainly just state queries
16:00  * stepcut has not noticed that at all..
16:01 < McManiaC> with state thats obvious... hmmm
16:02 < McManiaC> calling http://npaste.de/clientsrc/ will make the ram usage go up 3 mb :O
16:02 < mightybyte> I'd see if it continues for a while after 200 megs.
16:04 < McManiaC> http://npaste.de/9G/ took up 9mb :O
16:04 < McManiaC> 8-9
16:04 < McManiaC> wtf
16:05 < mightybyte> RAM?
16:05 < McManiaC> yup
16:05 < McManiaC> not pasting - opening the html page
16:05 < mightybyte> Right
16:05 < mightybyte> You think that's too high?
16:05 < McManiaC> yes
16:06 < mightybyte> Are you compiling with -O2?
16:07 < McManiaC> ghc --make Main.hs -o happstack -O2
16:07 < McManiaC> ?
16:07 < mightybyte> Yeah
16:07 < McManiaC> nope, gonna try
16:07 < mightybyte> That's a *must* for production happstack apps.
16:08 < McManiaC> kay
16:08 < McManiaC> ^^
16:09 < McManiaC> ok, I'm gonna see if it leaks some more memory, but I doubt this will do it :S
16:11 < mightybyte> I had significant memory problems with my app awhile back.
16:11 < mightybyte> My checkpoint file was ~10 megs.
16:11 < mightybyte> But my app was using 800-900 megs of RAM.
16:11 < McManiaC> 6,3M    _local
16:12 < mightybyte> I had to upgrade RAM with my hosting provider.
16:12 < mightybyte> Then, 2 weeks later, I had to add another 180 megs again.
16:12 < mightybyte> Two changes alleviated my problem.
16:12 < mightybyte> The first was -O2
16:13 < mightybyte> The second was running with "+RTS -c"
16:13 < McManiaC> what is that?
16:13 < mightybyte> This uses GHC's compacting garbage collector.
16:13 < McManiaC> ./happstack +RTS -c
16:13 < McManiaC> ?
16:13 < mightybyte> ...as suggested by dons.
16:13 < mightybyte> Yeah
16:14 < mightybyte> That made a pretty big difference.
16:14 < McManiaC> ok
16:14 < McManiaC> gonna try it
16:14 < mightybyte> Since then my memory usage has been pretty stable and I haven't had to upgrade memory
16:14 < McManiaC> how much ram do you need now?
16:14 < mightybyte> ...it's been running for months.
16:14 < mightybyte> My server has 900 megs and the app typically uses 700 or so.
16:15 < McManiaC> k
16:15 < McManiaC> with a checkpoint at 10mb?
16:15 < mightybyte> It's still not as low as I think it should be, but I haven't had time to focus on that issue again.
16:15 < mightybyte> The checkpoint is up to 16 megs now.
16:16 < McManiaC> k
16:16 < McManiaC> hmm
16:16 < McManiaC> ^^
16:20 < McManiaC> mightybyte: btw, what happstack app are you hosting?
21:25 < McManiaC> mightybyte: it really seems to make a difference
21:26 < McManiaC> currently my app is at a healthy 18mb again
22:12 < McManiaC> stepcut: www.n-sch.de/reply.png
22:12 < McManiaC> :)
22:13 < McManiaC> just need to think about a way to link the replies on the paste that got replied to
22:13 < McManiaC> ^^
--- Log closed Mon Dec 28 23:26:37 2009
--- Log opened Mon Dec 28 23:26:37 2009
--- Log closed Mon Dec 28 23:26:37 2009
--- Log opened Mon Dec 28 23:26:40 2009
--- Log closed Tue Dec 29 00:00:40 2009