It seems the default values depend on the underlying platform, as I found this in the Oracle docs site from a link in the stackoverflow article you provided:
Default Value
-Xss default values are platform-specific, as defined in Table 2-9<https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html#wp1024112>.
Table 2-9 -Xss Default Values
Platform
Default
Windows IA32
64 KB
Linux IA32
128 KB
Windows x86_64
128 KB
Linux x86_64
256 KB
Windows IA64
320 KB
Linux IA64
1024 KB (1 MB)
Solaris Sparc
512 KB
So in my case it's only 256K. I will try experimenting with Xss instead of Xmx and see what happens.
Thx to all who responded!
Larry Fritz
Application Engineer | Sensus<https://sensus.com/> | Xylem<http://www.xyleminc.com/>
M: 469-275-6042
Lar...@xy...<mailto:Lar...@xy...>
LinkedIn<https://www.linkedin.com/company/sensus> | Twitter<https://twitter.com/SensusGlobal> | YouTube<https://www.youtube.com/c/SensusGlobal> | Facebook<https://www.facebook.com/SensusGlobal/> | Instagram<https://www.instagram.com/sensusglobal/> | 3D Tour<https://apps.kaonadn.net/5277329597136896/index.html>
[cid:9C3A8262-A5A5-4BEA-B280-5BCBD77D7A55]
-----Original Message-----
From: John Hardin [mailto:jh...@im...]
Sent: Tuesday, August 4, 2020 10:51
To: Squirrel SQL users list <squ...@li...>
Subject: Re: [Squirrel-sql-users] EXTERNAL: Query fails to execute
On Tue, 4 Aug 2020, Ferreira, Matt via Squirrel-sql-users wrote:
> Are you using the included shell script? My initial thought is that you might need to increase the max memory settings. The default is set to 256:
> -Xmx256m
>>
> From: Fritz, Larry <Lar...@xy...<mailto:Lar...@xy...>>
> Sent: Tuesday, August 4, 2020 10:34 AM
> To: squ...@li...<mailto:squ...@li...>
> Subject: EXTERNAL: [Squirrel-sql-users] Query fails to execute
>
> 2020-08-03 16:02:37,711 [AWT-EventQueue-1] ERROR
> net.sourceforge.squirrel_sql.client.Main - Exception occurred
> dispatching Event
> java.awt.event.MouseEvent[MOUSE_RELEASED,(401,124),absolute(401,123),b
> utton=1,modifiers=Button1,clickCount=1] on frame0
> java.lang.StackOverflowError
I don't know whether adjusting the heap size (-Xmx) will help this one.
For a stack overflow error, also consider adding a -Xss parameter to the JRE command line, e.g. -Xss12m
see https://stackoverflow.com/questions/3700459/how-to-increase-the-java-stack-size
I don't know offhand what the default is so I can't suggest a new value, sorry.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jh...@im...<mailto:jh...@im...> FALaholic #11174 pgpk -a jh...@im...<mailto:jh...@im...>
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
A good high-school education is still essential,
and college is where you go to get one. -- MiddleAgedKen
-----------------------------------------------------------------------
Today: the 285th anniversary of John Peter Zenger's acquittal
_______________________________________________
Squirrel-sql-users mailing list
Squ...@li...<mailto:Squ...@li...>
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|