[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Alexey Panchenko (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489376 ] Alexey Panchenko commented on VELOCITY-223: --- Synchronization "stringImagePool.get(image)" should be insi

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489392 ] Christopher Schultz commented on VELOCITY-223: -- Since Velocity already depends on commons-collections,

Re: Changing Header.vm file on Locale change

2007-04-17 Thread Nathan Bubna
Please don't cross-post. This is a user list question. Wait a few days to get a reply there before you try this list. On 4/16/07, santas <[EMAIL PROTECTED]> wrote: Hi What i want to do is that whenever i change "Locale " of my application depending on that locale i want to change my "head

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Will Glass-Husain (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489416 ] Will Glass-Husain commented on VELOCITY-223: that makes sense to me. the memory issue is a good explan

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489435 ] Nathan Bubna commented on VELOCITY-223: --- Oh, and to finish out my conversation with Lei, he acknowledged that

Re: Changing Header.vm file on Locale change

2007-04-17 Thread Nathan Bubna
This looks like it might be a good situation to use the "MultiViewsTool" to find the appropriate header.vm file: http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/i18n/MultiViewsTool.html I haven't used it myself, but my understanding is that you use it to find the ap

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489434 ] Nathan Bubna commented on VELOCITY-223: --- Lei has tested and confirmed memory savings, and i see no reason to

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489432 ] Christopher Schultz commented on VELOCITY-223: -- After looking at the (patched, above) code to Velocity

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489437 ] Nathan Bubna commented on VELOCITY-223: --- So, all told. I think if we drop the static Map for a ReferenceMap

Need some help with running tests

2007-04-17 Thread Supun Kamburugamuva
Hi, I got some problems while trying to run test cases. 1. When I try to run the tests using Ant build(ant test) I got the following error. "Could not create task or type of type: junit. Ant could not find the task or a class this task relies upon." I'm using ant-1.6.5. 2. I have built an

Re: Need some help with running tests

2007-04-17 Thread Will Glass-Husain
Hi Supun, There's a couple of quirks here. Here's what I think the issue sare: (1) Ant can't find the junit jar for the junit task. That's because it doesn't look in the build classpath. Solutions (a) Use ant 1.7 which solves this problem or (b) copy junit.jar into the ant\lib library. Let u

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Alexey Panchenko (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489612 ] Alexey Panchenko commented on VELOCITY-223: --- The reason to high memory usage is that each macro invocatio

Re: Changing Header.vm file on Locale change

2007-04-17 Thread santas
Thanks for your reply but i think i missed one point here that i am not using velocity for my front end. I am using jsp with the portlets. And i think i cant use this #parse( ) here in jsp. I tryid solution but i don't know whether it is standard or not. W