-
Notifications
You must be signed in to change notification settings - Fork 621
Memory and Java
zaqi edited this page Aug 5, 2024
·
13 revisions
Since a lot of people ask questions about BIMserver and configuring it's Heap Size, this page hopes to clarify some details.
Java, unlike most native software, needs to know the maximum amount of memory it can use upfront. ou have to specify this maximum amount of memory (Heap Size) to the Java Virtual Machine (JVM) using the -Xmx argument. Here’s how to do it:
For 4GB of memory:
-Xmx4g
For 16GB of memory:
-Xmx16g
- This amount of memory cannot be more than the physical (of virtual) memory of your machine. It has to be less then that because other software (including the OS) will also use memory. Depending on what OS/software is installed, keep at least 1GB free for the other software.
- Java will not necessarily use all the memory that is given, it is just a maximum amount it can use
- BIMserver needs at least 1GB
- Depending on usage and plugins, BIMserver might require up to 100GB.
-
32-bit:
- Maximum physical memory: 4GB.
- 32-bit Java usually can use up to approximately 1300MB of memory, which is not much!
-
64-bit:
- No strict limit as with 32-bit systems, allowing for more memory allocation.
- Ensure you are using a 64-bit JVM on a 64-bit OS to avoid memory limitations.
- Using a 32-bit JVM on a 64-bit OS is not recommended and should be avoided.
Get Started
- Quick Guide
- Requirements Version 1.2
- Requirements Version 1.3
- Requirements Version 1.4
- Requirements Version 1.4 > 2015-09-12
- Requirements Version 1.5
- Download
- JAR Starter
- Setup
Deployment
- Ubuntu installation
- Windows installation
- Security
- Memory Usage
- More memory
- Performance statistics
- Large databases
Developers
- Service Interfaces
- Common functions
- Data Model
- Low Level Calls
- Endpoints
Clients
BIMServer Developers
- Plugins in 1.5
- Plugin Development
- Eclipse
- Eclipse Modeling Framework
- Embedding
- Terminology
- Database/Versioning
- IFC STEP Encoding
- Communication
- Global changes in 1.5
- Writing a service
- Services/Notifications
- BIMserver 1.5 Developers
- Extended data
- Extended data schema
- Object IDM
New developments
- New remote service interface
- Plugins new
- Deprecated
- New query language
- Visual query language
- Reorganizing BIMserver JavaScript API
General