Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-20 Thread Stanton Sievers
he.org, Date: 10/19/2011 07:40 PM Subject: Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime A css rule-set is what just a css selector (or more accurately, one or more css selectors) and a block of css declarations. Eg: div { bac

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-20 Thread Stanton Sievers
Stanton From: ๏̯͡๏ Jasvir Nagra To: dev@shindig.apache.org, Date: 10/19/2011 20:35 Subject: Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime On Wed, Oct 19, 2011 at 5:01 PM, Ryan J Baxter wrote: > Jas does the cached entr

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread ๏̯͡๏ Jasvir Nagra
; > From: ๏̯͡๏ Jasvir Nagra > To: dev@shindig.apache.org, > Date: 10/19/2011 07:40 PM > Subject: Re: Memory concerns: what is the "normal" amount of > CssTree.RuleSet objects to see at runtime > > > > A css rule-set is what just a css selecto

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread Ryan J Baxter
: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime A css rule-set is what just a css selector (or more accurately, one or more css selectors) and a block of css declarations. Eg: div { background-color: red; color: pink; } is a rule-set. It depen

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread ๏̯͡๏ Jasvir Nagra
ant to ask Jasvir, he is the Caja lead at Google :) > > > > -Ryan > > > > Email: rjbax...@us.ibm.com > > Phone: 978-899-3041 > > developerWorks Profile > > > > > > > > From: Stanton Sievers/Westford/IBM@Lotus > > To: dev@shindig.

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread Stanton Sievers
rks Profile > > > > From: Stanton Sievers/Westford/IBM@Lotus > To: dev@shindig.apache.org, > Date: 10/19/2011 02:21 PM > Subject: Memory concerns: what is the "normal" amount of > CssTree.RuleSet objects to see at runtime > > > > Hi every

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread ๏̯͡๏ Jasvir Nagra
e.org, > Date: 10/19/2011 02:21 PM > Subject: Memory concerns: what is the "normal" amount of > CssTree.RuleSet objects to see at runtime > > > > Hi everyone, > > I'm seeing a lot of com.google.caja.parser.css.CssTree$RuleSet objects > when running S

Re: Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread Ryan J Baxter
ormal" amount of CssTree.RuleSet objects to see at runtime Hi everyone, I'm seeing a lot of com.google.caja.parser.css.CssTree$RuleSet objects when running Shindig. I'm seeing around 1700 of these RuleSet objects being retained, which equates to between 9MB and 10MB. This cons

Memory concerns: what is the "normal" amount of CssTree.RuleSet objects to see at runtime

2011-10-19 Thread Stanton Sievers
Hi everyone, I'm seeing a lot of com.google.caja.parser.css.CssTree$RuleSet objects when running Shindig. I'm seeing around 1700 of these RuleSet objects being retained, which equates to between 9MB and 10MB. This constitutes ~15% of the total heap size! These RuleSets appear to be in an Arr