[ 
https://issues.apache.org/jira/browse/PIVOT-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154273#comment-13154273
 ] 

Sandro Martini commented on PIVOT-406:
--------------------------------------

512 MB of RAM aren't enough for the 10e5 version of the data file ... I just 
tried the Web Start version with a JRE 6 at 32 bit, and with a 1024 MB all 
works.
This is an extract from the related (dynamically generated) jnlp file:
                <java version="1.6+" 
href="http://java.sun.com/products/autodl/j2se"; 
                  initial-heap-size="256M" max-heap-size="1024M"/>
                <jar href="lib/pivot-core-2.0.1.jar"/><jar 
href="lib/pivot-wtk-2.0.1.jar" main="true"/><jar 
href="lib/pivot-wtk-terra-2.0.1.jar"/><jar 
href="lib/pivot-demos-2.0.1.jar"/><jar 
href="lib/svgSalamander-tiny.jar"/></resources><application-desc 
main-class="org.apache.pivot.wtk.DesktopApplicationContext"><argument>org.apache.pivot.demos.million.LargeData</argument><argument>--center=true</argument>
<!--            <argument>--basePath=pivot-demos/assets</argument> -->
                
<argument>--basePath=http://localhost:8080/pivot-demos/assets</argument>
                                </application-desc><update check="background"/>
                </jnlp>

note that at the moment even the basePath argument has been fixed by hand in 
the jnlp page ... I have to try to make it work in the standard distribution, 
and in the live Pivot web site.

                
> Ensure that java_arguments param is properly set for Large Data demo
> --------------------------------------------------------------------
>
>                 Key: PIVOT-406
>                 URL: https://issues.apache.org/jira/browse/PIVOT-406
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
>
>
> In previous releases, the HTML for the Large Data sets demo included a JVM 
> argument to increase the heap size for the demo applet. The default heap size 
> for the JVM on some platforms is not sufficient to handle the large number of 
> rows displayed by the demo. This argument was lost in the transition to the 
> new site format. 
> The following applet param should be added to this demo:
> java_arguments:"-Xms512M"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to