Hi,
We adapted Orbeon newly in our project. In our framework we call Orbeon from Java code and process its response in Java code. After implementing all, we found Orbeon memory is increasing exponentially for each request. Yes, we send a xForms instance dynamically as a xml file through session. This increase in memory causing Out of Memory issues continuously and creating problem in our servers. When analyzing i see that Orbeon caching eats half of our memory (around 1gb) leaving less space for other program. I like to stop this caching completely and test my application. Right now we do not care about performance. I searched in this forum and found somethings like to disable caching, <p:processor name="oxf:url-generator"><p:input name="config"><config><url>http://www.cnn.com</url><content-type>text/html</content-type><cache-control><use-local-cache>false</use-local-cache></cache-control></config></p:input><p:output name="data" id="html"/></p:processor> these lines can disable cache. But we are right now, not sure about how to use Orbeon completely. Please tell us the complete steps to disable the cache. We like to disable all caching in Orbeon. We did nor create any specific configuration file in Orbeon. Requesting a complete steps. Please help as soon as possible. Thank you. |
Administrator
|
Hi Vedha, Are you using the "separate deployment", i.e. the Orbeon Forms filter in your web app that dispatches the processing to Orbeon Forms deployed as a separate web app? You could try to reduce the value of those 2 properties (e.g. setting them to just 1). And this would go in your properties-local.xml. <property as="xs:integer" name="oxf.xforms.cache.documents.size" value="50"/> <property as="xs:integer" name="oxf.xforms.cache.static-state.size" value="50"/> You'll let me know if this works for you. Alex On Sat, Jun 27, 2015 at 3:31 PM, Vedha <[hidden email]> wrote: Hi, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thanks for your help.
Yes i am using seperate deployment. I have created these properties and set the values as 1. But still memory is increasing drastically on each request. I am running in PROD mode. Waiting for your help. Thanks.a |
Administrator
|
Hi Vedha, What version of Orbeon Forms are you using? And when you say that "memory is increasing drastically", does it stabilize after a certain point, or does it run out of memory? If it stabilizes, what size does it stabilizes to, as seen after a full garbage collection (i.e. where is the low point of the "saw teeth")? Alex On Sat, Jun 27, 2015 at 4:23 PM, Vedha <[hidden email]> wrote: Thanks for your help. You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |