Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VTK
VTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 580
    • Issues 580
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 163
    • Merge Requests 163
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17025

Closed
Open
Opened Apr 14, 2017 by Nico Schlömer@nschloeContributor

make JAVAC_OPTIONS configurable

The file Wrapping/Java/CMakeLists.txt contains

# javac runs out memory on Mac so increase heapsize
if(APPLE)
  set(JAVAC_OPTIONS -J-Xmx512m)
endif()

Now, that's a bit arbitrary. Why only on APPLE? Why 512m? In fact, on Debian we had to increase this to 1024m, see https://anonscm.debian.org/cgit/debian-science/packages/vtk6.git/tree/debian/patches/100_javac-heap.patch.

It'd suggest to make this configurable, perhaps via cmake -DJAVAC_OPTIONS=-J-Xmx512m.

Assignee
Assign to
8.2.0
Milestone
8.2.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: vtk/vtk#17025