Skip to content

Commit

Permalink
Added Xmx that specifies the maximum memory allocation pool for a Jav…
Browse files Browse the repository at this point in the history
…a virtual machine (JVM)
  • Loading branch information
jadsonbr committed Nov 24, 2016
1 parent 689bcba commit 6f9269f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 167 deletions.
1 change: 0 additions & 1 deletion pyjasper/MANIFEST.in

This file was deleted.

7 changes: 1 addition & 6 deletions pyjasper/jasperpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ def __init__(self, resource_dir=False):
else:
if not os.path.exists(resource_dir):
raise NameError('Invalid resource directory.')
self.resource_directory = resource_dir


def __del__(self):
class_name = self.__class__.__name__
print(class_name, "destroyed")
self.resource_directory = resource_dir


def compile(self,input_file, output_file=False, background=True, redirect_output=True):
Expand Down
3 changes: 2 additions & 1 deletion pyjasper/jasperstarter/bin/jasperstarter
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ else
fi

#SCRIPTPATH="$(dirname $0)"
java -jar "$HOME_FOLDER/lib/jasperstarter.jar" "$@"
#java -jar "$HOME_FOLDER/lib/jasperstarter.jar" "$@"
java -jar -Djava.net.preferIPv4Stack=true -Xmx1024m "$HOME_FOLDER/lib/jasperstarter.jar" "$@"
Binary file removed pyjasper/test/output/_Contacts.pdf
Binary file not shown.
170 changes: 12 additions & 158 deletions pyreportjasper.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,156 +9,13 @@ pyjasper/jasperstarter/NOTICE
pyjasper/jasperstarter/README.md
pyjasper/jasperstarter/bin/jasperstarter
pyjasper/jasperstarter/bin/jasperstarter.exe
pyjasper/jasperstarter/docs/changes.html
pyjasper/jasperstarter/docs/dependencies.html
pyjasper/jasperstarter/docs/files.html
pyjasper/jasperstarter/docs/index.html
pyjasper/jasperstarter/docs/issue-tracking.html
pyjasper/jasperstarter/docs/license.html
pyjasper/jasperstarter/docs/project-info.html
pyjasper/jasperstarter/docs/project-summary.html
pyjasper/jasperstarter/docs/references.html
pyjasper/jasperstarter/docs/screenshots.html
pyjasper/jasperstarter/docs/source-repository.html
pyjasper/jasperstarter/docs/team-list.html
pyjasper/jasperstarter/docs/unicode-pdf-export.html
pyjasper/jasperstarter/docs/usage.html
pyjasper/jasperstarter/docs/cs/changes.html
pyjasper/jasperstarter/docs/cs/dependencies.html
pyjasper/jasperstarter/docs/cs/files.html
pyjasper/jasperstarter/docs/cs/index.html
pyjasper/jasperstarter/docs/cs/issue-tracking.html
pyjasper/jasperstarter/docs/cs/license.html
pyjasper/jasperstarter/docs/cs/project-info.html
pyjasper/jasperstarter/docs/cs/project-summary.html
pyjasper/jasperstarter/docs/cs/screenshots.html
pyjasper/jasperstarter/docs/cs/source-repository.html
pyjasper/jasperstarter/docs/cs/team-list.html
pyjasper/jasperstarter/docs/cs/unicode-pdf-export.html
pyjasper/jasperstarter/docs/cs/usage.html
pyjasper/jasperstarter/docs/cs/css/apache-maven-fluido.min.css
pyjasper/jasperstarter/docs/cs/css/print.css
pyjasper/jasperstarter/docs/cs/css/site.css
pyjasper/jasperstarter/docs/cs/images/accessories-text-editor.png
pyjasper/jasperstarter/docs/cs/images/add.gif
pyjasper/jasperstarter/docs/cs/images/apache-maven-project-2.png
pyjasper/jasperstarter/docs/cs/images/application-certificate.png
pyjasper/jasperstarter/docs/cs/images/close.gif
pyjasper/jasperstarter/docs/cs/images/collapsed.png
pyjasper/jasperstarter/docs/cs/images/contact-new.png
pyjasper/jasperstarter/docs/cs/images/document-properties.png
pyjasper/jasperstarter/docs/cs/images/drive-harddisk.png
pyjasper/jasperstarter/docs/cs/images/expanded.png
pyjasper/jasperstarter/docs/cs/images/fix.gif
pyjasper/jasperstarter/docs/cs/images/icon_error_sml.gif
pyjasper/jasperstarter/docs/cs/images/icon_help_sml.gif
pyjasper/jasperstarter/docs/cs/images/icon_info_sml.gif
pyjasper/jasperstarter/docs/cs/images/icon_success_sml.gif
pyjasper/jasperstarter/docs/cs/images/icon_warning_sml.gif
pyjasper/jasperstarter/docs/cs/images/image-x-generic.png
pyjasper/jasperstarter/docs/cs/images/internet-web-browser.png
pyjasper/jasperstarter/docs/cs/images/network-server.png
pyjasper/jasperstarter/docs/cs/images/package-x-generic.png
pyjasper/jasperstarter/docs/cs/images/remove.gif
pyjasper/jasperstarter/docs/cs/images/rss.png
pyjasper/jasperstarter/docs/cs/images/update.gif
pyjasper/jasperstarter/docs/cs/images/window-new.png
pyjasper/jasperstarter/docs/cs/images/logos/build-by-maven-black.png
pyjasper/jasperstarter/docs/cs/images/logos/build-by-maven-white.png
pyjasper/jasperstarter/docs/cs/images/logos/maven-feather.png
pyjasper/jasperstarter/docs/cs/images/profiles/pre-release.png
pyjasper/jasperstarter/docs/cs/images/profiles/retired.png
pyjasper/jasperstarter/docs/cs/images/profiles/sandbox.png
pyjasper/jasperstarter/docs/cs/js/apache-maven-fluido.min.js
pyjasper/jasperstarter/docs/css/apache-maven-fluido.min.css
pyjasper/jasperstarter/docs/css/print.css
pyjasper/jasperstarter/docs/css/site.css
pyjasper/jasperstarter/docs/de/changes.html
pyjasper/jasperstarter/docs/de/dependencies.html
pyjasper/jasperstarter/docs/de/files.html
pyjasper/jasperstarter/docs/de/index.html
pyjasper/jasperstarter/docs/de/issue-tracking.html
pyjasper/jasperstarter/docs/de/license.html
pyjasper/jasperstarter/docs/de/project-info.html
pyjasper/jasperstarter/docs/de/project-summary.html
pyjasper/jasperstarter/docs/de/screenshots.html
pyjasper/jasperstarter/docs/de/source-repository.html
pyjasper/jasperstarter/docs/de/team-list.html
pyjasper/jasperstarter/docs/de/unicode-pdf-export.html
pyjasper/jasperstarter/docs/de/usage.html
pyjasper/jasperstarter/docs/de/css/apache-maven-fluido.min.css
pyjasper/jasperstarter/docs/de/css/print.css
pyjasper/jasperstarter/docs/de/css/site.css
pyjasper/jasperstarter/docs/de/images/accessories-text-editor.png
pyjasper/jasperstarter/docs/de/images/add.gif
pyjasper/jasperstarter/docs/de/images/apache-maven-project-2.png
pyjasper/jasperstarter/docs/de/images/application-certificate.png
pyjasper/jasperstarter/docs/de/images/close.gif
pyjasper/jasperstarter/docs/de/images/collapsed.png
pyjasper/jasperstarter/docs/de/images/contact-new.png
pyjasper/jasperstarter/docs/de/images/document-properties.png
pyjasper/jasperstarter/docs/de/images/drive-harddisk.png
pyjasper/jasperstarter/docs/de/images/expanded.png
pyjasper/jasperstarter/docs/de/images/fix.gif
pyjasper/jasperstarter/docs/de/images/icon_error_sml.gif
pyjasper/jasperstarter/docs/de/images/icon_help_sml.gif
pyjasper/jasperstarter/docs/de/images/icon_info_sml.gif
pyjasper/jasperstarter/docs/de/images/icon_success_sml.gif
pyjasper/jasperstarter/docs/de/images/icon_warning_sml.gif
pyjasper/jasperstarter/docs/de/images/image-x-generic.png
pyjasper/jasperstarter/docs/de/images/internet-web-browser.png
pyjasper/jasperstarter/docs/de/images/network-server.png
pyjasper/jasperstarter/docs/de/images/package-x-generic.png
pyjasper/jasperstarter/docs/de/images/remove.gif
pyjasper/jasperstarter/docs/de/images/rss.png
pyjasper/jasperstarter/docs/de/images/update.gif
pyjasper/jasperstarter/docs/de/images/window-new.png
pyjasper/jasperstarter/docs/de/images/logos/build-by-maven-black.png
pyjasper/jasperstarter/docs/de/images/logos/build-by-maven-white.png
pyjasper/jasperstarter/docs/de/images/logos/maven-feather.png
pyjasper/jasperstarter/docs/de/images/profiles/pre-release.png
pyjasper/jasperstarter/docs/de/images/profiles/retired.png
pyjasper/jasperstarter/docs/de/images/profiles/sandbox.png
pyjasper/jasperstarter/docs/de/js/apache-maven-fluido.min.js
pyjasper/jasperstarter/docs/images/JasperStarter_screenshot-help.png
pyjasper/jasperstarter/docs/images/JasperStarter_screenshot-pr-help.png
pyjasper/jasperstarter/docs/images/JasperStarter_screenshot_parameter-prompt.png
pyjasper/jasperstarter/docs/images/JasperStarter_screenshot_print_dialog.png
pyjasper/jasperstarter/docs/images/JasperStarter_screenshot_view.png
pyjasper/jasperstarter/docs/images/accessories-text-editor.png
pyjasper/jasperstarter/docs/images/add.gif
pyjasper/jasperstarter/docs/images/apache-maven-project-2.png
pyjasper/jasperstarter/docs/images/application-certificate.png
pyjasper/jasperstarter/docs/images/close.gif
pyjasper/jasperstarter/docs/images/collapsed.png
pyjasper/jasperstarter/docs/images/contact-new.png
pyjasper/jasperstarter/docs/images/document-properties.png
pyjasper/jasperstarter/docs/images/drive-harddisk.png
pyjasper/jasperstarter/docs/images/expanded.png
pyjasper/jasperstarter/docs/images/fix.gif
pyjasper/jasperstarter/docs/images/icon_error_sml.gif
pyjasper/jasperstarter/docs/images/icon_help_sml.gif
pyjasper/jasperstarter/docs/images/icon_info_sml.gif
pyjasper/jasperstarter/docs/images/icon_success_sml.gif
pyjasper/jasperstarter/docs/images/icon_warning_sml.gif
pyjasper/jasperstarter/docs/images/image-x-generic.png
pyjasper/jasperstarter/docs/images/internet-web-browser.png
pyjasper/jasperstarter/docs/images/network-server.png
pyjasper/jasperstarter/docs/images/package-x-generic.png
pyjasper/jasperstarter/docs/images/remove.gif
pyjasper/jasperstarter/docs/images/rss.png
pyjasper/jasperstarter/docs/images/update.gif
pyjasper/jasperstarter/docs/images/window-new.png
pyjasper/jasperstarter/docs/images/logos/build-by-maven-black.png
pyjasper/jasperstarter/docs/images/logos/build-by-maven-white.png
pyjasper/jasperstarter/docs/images/logos/maven-feather.png
pyjasper/jasperstarter/docs/images/profiles/pre-release.png
pyjasper/jasperstarter/docs/images/profiles/retired.png
pyjasper/jasperstarter/docs/images/profiles/sandbox.png
pyjasper/jasperstarter/docs/js/apache-maven-fluido.min.js
pyjasper/jasperstarter/examples/Blank_A4_1.jrxml
pyjasper/jasperstarter/examples/CancelAck.jrxml
pyjasper/jasperstarter/examples/CancelAck.xml
pyjasper/jasperstarter/examples/charactersetTest.jrxml
pyjasper/jasperstarter/examples/charactersetTestWithStudioBuiltinFunctions.jrxml
pyjasper/jasperstarter/examples/contacts.json
pyjasper/jasperstarter/examples/contacts.xml
pyjasper/jasperstarter/examples/csv.jrxml
pyjasper/jasperstarter/examples/csvExampleHeaders.csv
pyjasper/jasperstarter/examples/csvMeta.jrxml
Expand All @@ -167,22 +24,19 @@ pyjasper/jasperstarter/examples/header.jrxml
pyjasper/jasperstarter/examples/i18n-bundle.properties
pyjasper/jasperstarter/examples/i18n-bundle_de.properties
pyjasper/jasperstarter/examples/i18n-bundle_ru.properties
pyjasper/jasperstarter/examples/json.jrxml
pyjasper/jasperstarter/examples/main.jrxml
pyjasper/jasperstarter/examples/noDB-i18n.jrxml
pyjasper/jasperstarter/examples/noDB-params.jrxml
pyjasper/jasperstarter/jdbc/README
pyjasper/jasperstarter/jdbc/mysql-connector-java-5.1.39-bin.jar
pyjasper/jasperstarter/jdbc/postgresql-9.4-1203.jdbc4.jar
pyjasper/jasperstarter/lib/ant-1.7.1.jar
pyjasper/jasperstarter/lib/ant-launcher-1.7.1.jar
pyjasper/jasperstarter/lib/aopalliance-1.0.jar
pyjasper/jasperstarter/lib/argparse4j-0.5.0.jar
pyjasper/jasperstarter/lib/arial.jar
pyjasper/jasperstarter/lib/avalon-framework-impl-4.2.0.jar
pyjasper/jasperstarter/lib/barbecue-1.5-beta1.jar
pyjasper/jasperstarter/lib/barcode4j-2.1.jar
pyjasper/jasperstarter/lib/batik-anim-1.7.jar
pyjasper/jasperstarter/lib/batik-anim-1.8.jar
pyjasper/jasperstarter/lib/batik-awt-util-1.7.jar
pyjasper/jasperstarter/lib/batik-bridge-1.7.jar
pyjasper/jasperstarter/lib/batik-css-1.7.jar
Expand All @@ -197,7 +51,9 @@ pyjasper/jasperstarter/lib/batik-svggen-1.7.jar
pyjasper/jasperstarter/lib/batik-util-1.7.jar
pyjasper/jasperstarter/lib/batik-xml-1.7.jar
pyjasper/jasperstarter/lib/bcmail-jdk14-1.38.jar
pyjasper/jasperstarter/lib/bcmail-jdk14-138.jar
pyjasper/jasperstarter/lib/bcprov-jdk14-1.38.jar
pyjasper/jasperstarter/lib/bcprov-jdk14-138.jar
pyjasper/jasperstarter/lib/bctsp-jdk14-1.38.jar
pyjasper/jasperstarter/lib/castor-core-1.3.3.jar
pyjasper/jasperstarter/lib/castor-xml-1.3.3.jar
Expand All @@ -210,33 +66,30 @@ pyjasper/jasperstarter/lib/commons-io-2.4.jar
pyjasper/jasperstarter/lib/commons-lang-2.6.jar
pyjasper/jasperstarter/lib/commons-logging-1.1.1.jar
pyjasper/jasperstarter/lib/core-2.3.0.jar
pyjasper/jasperstarter/lib/dom4j-1.6.1.jar
pyjasper/jasperstarter/lib/ecj-4.3.1.jar
pyjasper/jasperstarter/lib/groovy-all-2.4.1.jar
pyjasper/jasperstarter/lib/itext-4.2.1.jar
pyjasper/jasperstarter/lib/itext-2.1.7.js2.jar
pyjasper/jasperstarter/lib/jackson-annotations-2.1.4.jar
pyjasper/jasperstarter/lib/jackson-core-2.1.4.jar
pyjasper/jasperstarter/lib/jackson-databind-2.1.4.jar
pyjasper/jasperstarter/lib/jakarta-regexp-1.4.jar
pyjasper/jasperstarter/lib/jasperreports-6.0.4.jar
pyjasper/jasperstarter/lib/jasperreports-6.1.0.jar
pyjasper/jasperstarter/lib/jasperreports-fonts-6.0.0.jar
pyjasper/jasperstarter/lib/jasperreports-functions-6.0.4.jar
pyjasper/jasperstarter/lib/jasperreports-functions-6.1.0.jar
pyjasper/jasperstarter/lib/jasperstarter.jar
pyjasper/jasperstarter/lib/javax.inject-1.jar
pyjasper/jasperstarter/lib/jcalendar-1.4.jar
pyjasper/jasperstarter/lib/jcommon-1.0.15.jar
pyjasper/jasperstarter/lib/jfreechart-1.0.12.jar
pyjasper/jasperstarter/lib/joda-time-2.1.jar
pyjasper/jasperstarter/lib/joda-time-2.0.jar
pyjasper/jasperstarter/lib/log4j-1.2.17.jar
pyjasper/jasperstarter/lib/lucene-analyzers-common-4.5.1.jar
pyjasper/jasperstarter/lib/lucene-core-4.5.1.jar
pyjasper/jasperstarter/lib/lucene-queries-4.5.1.jar
pyjasper/jasperstarter/lib/lucene-queryparser-4.5.1.jar
pyjasper/jasperstarter/lib/lucene-sandbox-4.5.1.jar
pyjasper/jasperstarter/lib/olap4j-0.9.7.309-JS-3.jar
pyjasper/jasperstarter/lib/pdf-renderer-1.0.5.jar
pyjasper/jasperstarter/lib/poi-3.10-FINAL.jar
pyjasper/jasperstarter/lib/ptsans.jar
pyjasper/jasperstarter/lib/servlet-api-2.5.jar
pyjasper/jasperstarter/lib/spring-aop-3.0.6.RELEASE.jar
pyjasper/jasperstarter/lib/spring-asm-3.0.6.RELEASE.jar
Expand All @@ -261,6 +114,7 @@ pyjasper/test/exemples/example.php
pyjasper/test/exemples/hello_world.jrxml
pyjasper/test/exemples/hello_world_params.jrxml
pyjasper/test/exemples/json.jrxml
pyjasper/test/output/_Contacts.pdf
pyreportjasper.egg-info/PKG-INFO
pyreportjasper.egg-info/SOURCES.txt
pyreportjasper.egg-info/dependency_links.txt
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='pyreportjasper',
version='0.1.2',
version='0.1.3',
url='https://github.com/jadsonbr/pyreport',
license='MIT License',
author='Jadson Bonfim Ribeiro',
Expand Down

0 comments on commit 6f9269f

Please sign in to comment.