[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-22 Thread SkiAddict
On Friday, 23 December 2016 04:07:30 UTC+13, Tomas Pospichal wrote: > > I am very glad you persisted and found a simple solution. It may prove > very useful to other Mac users whose system is in a similar configuration. > > Regards, > Tomas > > Thanks, Tomas. Since posting my update I have

Re: [h2] MVStore -- can I ignore it?

2016-12-21 Thread SkiAddict
On Wednesday, 21 December 2016 20:15:40 UTC+13, Noel Grandin wrote: > > MV_STORE is a completely separate storage engine from the old PageStore. > > The old PageStore engine generates files with a .h2.db extension, the new > MV_STORE engine generates files with a .mv.db extension. > > So it's not

[h2] MVStore -- can I ignore it?

2016-12-20 Thread SkiAddict
So after managing to resolve my slow console launch problem , I'm back to actually working with h2. First question: what version to use? I was on 1.3.167 but would like to use something more up to date. 1.3.176 still gives me

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-20 Thread SkiAddict
Update: with the help of someone over at stackexchange I managed to get rid of "Santa's MacBook Pro", and inetTester now resolves in 77ms. The key thing was setting

Re: [h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-19 Thread SkiAddict
On Tuesday, 20 December 2016 19:08:09 UTC+13, Noel Grandin wrote: > > Also, this might be useful > > http://osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/ > ​ > Gr! Nothing I do gets rid of the damn old hostname!!! Did the above twice, restarted, did it again, restarted, and still all I

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-19 Thread SkiAddict
Curiouser and curioser... Both the local host and the computer name are now "trial", and the hard disk name is now "tt", so there are no remnants of "Santa's MacBook" anywhere AFAICS. I've run OnyX to clean the system caches (boot, kernel and extensions, CUPS jobs (not related to this issue,

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-19 Thread SkiAddict
Actually, I spoke too soon. I decided to run Wireshark again and see what it said. Launching the h2 console now only takes 58s as opposed to the 1m25s of previously. Still too slow, but an improvement. (The reason I originally said there was no improvement is that unless I'm doing something

Re: [h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-19 Thread SkiAddict
On Tuesday, 20 December 2016 11:35:49 UTC+13, Tomas Pospichal wrote: > > I have seen slow local network connections from Java on other platforms, > but with H2 it seems to be OSX or mac OS users who are running into it. > Similar problems have been discussed here last month: H2 database

Re: [h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-19 Thread SkiAddict
On Monday, 19 December 2016 19:04:39 UTC+13, Noel Grandin wrote: > > ok, so it's hanging in the > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) > at

Re: [h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-18 Thread SkiAddict
On Sunday, 18 December 2016 19:19:21 UTC+13, Noel Grandin wrote: > > Nice work so far, thanks. > I'm glad I'm managing to do what you need :-) Hmmm, ok, so this has something to do with Bonjour/MDNS and Java1.8. > > Could you perhaps use VisualVM or jstack to capture a stacktrace of what > the

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-17 Thread SkiAddict
More information: I finally managed to discover how to select Java 6 for my runtime, and launched 1.3.167 under it. Launched in a few seconds start to finish. Wireshark shows none of the "Standard query 0x..." rows which are such in evidence in the capture under 1.8. Another difference:

Re: [h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-17 Thread SkiAddict
On Saturday, 17 December 2016 21:44:34 UTC+13, Noel Grandin wrote: > > > On 17 December 2016 at 09:42, SkiAddict <skiad...@gmail.com > > wrote: > >> >> - I'm sorry, but can you please explain how to set a system property? >> I've googled java.net.pre

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-16 Thread SkiAddict
Thanks so much for your reply Noel :-) - I'm sorry, but can you please explain how to set a system property? I've googled java.net.preferIPv4Stack and all I see is Java code, calls to System.setProperty(). Also how do I get the current value of java.net.preferIPv4Stack -- perhaps it's

[h2] Re: Please help, h2 console in El Capitan very very slow!!!

2016-12-16 Thread SkiAddict
I did some trials today. Unfortunately none of them made any difference to the slowness, but I'm mentioning them here in case they trigger something for someone. I really need to solve this! The console is essentially useless to me in its current state. I tried: - Setting the Mac's

[h2] Please help, h2 console in El Capitan very very slow!!!

2016-12-12 Thread SkiAddict
Earlier this year I moved to El Capitan. Ever since I've been finding the h2 console very very slow. Here are timings taken a few days ago with no other apps running: - 2 min 5 sec: Launch the console and wait for it to finish loading. Uses a shell script which does the following: cd