I will not miss manually setting Xmx for each new install even a little bit.

Thank you!
Graydon

On Thu, Jun 26, 2025, at 10:11, Christian Grün wrote:
> Thanks, Graydon.
> 
> You are right, we have finally removed the static -Xmx setting to let the JRE 
> decide how much RAM to assign (in many cases, it will now be more than 2GB – 
> usually 25% of the available main memory).
> 
> As described in the documentation, it is still possible to assign Java flags 
> to the BASEX_JVM variable.
> 
> Cheers, 
> Christian
> 
> 
> Graydon Saunders <graydon...@fastmail.com> schrieb am Do., 26. Juni 2025, 
> 16:05:
>> __
>> Excellent news!
>> 
>> I notice that the
>>> # Options for virtual machine (can be extended by global options)
>>> BASEX_JVM="-Xmx16g $BASEX_JVM"
>> line is gone, it seems generally, from the* *startup scripts.
>> 
>> https://docs.basex.org/main/Start_Scripts continues to reference setting 
>> -Xmx.
>> 
>> Is there a new place to do this or is it expected to not be required with 12?
>> 
>> Thanks!
>> Graydon
>> 
>> On Thu, Jun 26, 2025, at 08:54, Christian Grün wrote:
>>> Dear all,
>>> 
>>> Version 12 marks a major leap forward for BaseX – our open-source XML 
>>> framework, database engine, and XQuery 4.0 processor. This release 
>>> introduces powerful new features, essential upgrades, and expanded 
>>> standards support that will elevate how you build, query, and manage 
>>> XML-driven applications.
>>> 
>>> This is what you get:
>>> 
>>> 🔧 Core Upgrades
>>> - Java 17: better performance, long-term support
>>> - Jetty 12: better compatibility, future-proofing
>>> 
>>> ✨ XQuery features, 4.0
>>> - Order-Preserving Maps: more intuitive & predictable data structures
>>> - Map performance: significantly leaner & faster, close to native Java
>>> - Arrays & sequences: Wrapping as arrays in constant time & vice versa
>>> - Pipeline Operator: clean, expressive queries with the -> operator
>>> - Typed constructs: structured data with item and record constructors
>>> - Stack Traces, finally block: better debugging, robust error-handling
>>> - While Clauses: better control flow in functional logic
>>> - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu
>>> - Scripting: launch XQuery expressions as independent jobs
>>> - Profiler Optimizations: aggregation of profiled results
>>> 
>>> 🔐 Security & Admin Enhancements
>>> - Automatic Admin Password Generation (first startup)
>>> - Log Filtering, Masking & Truncation: better control over logging
>>> 
>>> Get the new version and check out our documentation for more details:
>>> 
>>>   https://basex.org
>>>   https://docs.basex.org/main/Changelog
>>> 
>>> Have fun,
>>> Your BaseX Team
>>> 
>> 

Reply via email to