Re: Hypersearch Hanging

James <[email protected]> Mon, 27 Nov 2023 08:49:00 +0200
Newsgroups gmane.editors.jedit.user
Message-ID <CAB9o2JqDQRNxRquX3uE4JHmom9yVvKZzxRfQrpBX_qYpB06zag@mail.gmail.com>
--===============4829432524064167270==
Content-Type: multipart/alternative; boundary="00000000000015013a060b1cb318"

--00000000000015013a060b1cb318
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks Bob, I'll give that a try...

On Fri, Nov 24, 2023 at 9:41=E2=80=AFPM Jarvis, Bob <Bob.Jarvis@signetjewel=
ers.com>
wrote:

>
>
> FWIW I started encountering performance issues generally in jEdit when my
> employer forced a switch from the Oracle-compiled version of Java we had
> been using for years (8.x) to Microsoft=E2=80=99s Java package (17.0.7). =
I believe
> that what I was seeing was stop-the-world garbage collection pauses, whic=
h
> we didn=E2=80=99t have issues with when using the Oracle 8.x build, and w=
hich I
> haven=E2=80=99t seen when running OpenJdk 21 at home under Linux. Since t=
he version
> of jedit.exe I have won=E2=80=99t run on any major version of Java which =
is not 8
> and I=E2=80=99m prohibited by corporate information security policy from =
installing
> any other version of jedit.exe, I switched to starting jEdit from a
> command-line command, as follows:
>
>
>
> cmd /C start "" javaw -XX:InitialHeapSize=3D2G -XX:MaxHeapSize=3D5g
> -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -jar "C:\Program
> Files\jEdit\jEdit.jar"
>
>
>
> I don=E2=80=99t know if it was the change to using the ZGC garbage collec=
tor
> <https://docs.oracle.com/en/java/javase/17/gctuning/z-garbage-collector.h=
tml#GUID-8637B158-4F35-4E2D-8E7B-9DAEF15BB3CD>
> that seems to have improved the situation or whether it was forcing an
> InitialHeapSize of 2 gigabytes, but in any case it seems to be hanging up
> less. You might give the ZGC garbage collector a try.
>
>
>
> *From:* James <[email protected]>
> *Sent:* Tuesday, November 21, 2023 7:27 AM
> *To:* jedit-users <[email protected]>
> *Subject:* [ jEdit-users ] Hypersearch Hanging
>
>
>
> *CAUTION:* This external email was sent to you by *[email protected]
> <[email protected]>*. Do not click links or open attachments unless you
> trust the sender and know the content is safe.
>
>
> ------------------------------
>
> Hi
>
>
>
> I've got a recent issue that I'm struggling to figure out.
>
>
>
> Hypersearch has worked nicely for me for the last 20 years, and then a
> month or so ago jEdit has started hanging with every single hypersearch I
> do.
>
>
>
> And, thanks to muscle memory, I'm force closing jEdit often now.
>
>
>
> Could you perhaps give me some guidance in how to debug this? I had the
> Activity Log tab open and the last line that was shown as the program hun=
g
> was:
>
>
>
> "HyperSearchRequest: 18 OCCURENCES"
>
>
>
> So it's found the items but the window is hanging and does not return.
>
>
>
> I'm using Windows 11 with MS Java 17.0.6
>
>
>
> Thanks in advance.
>
>
>
> James
>
>
> The information contained in this e-mail message is privileged and/or
> confidential and is intended only for the use of the individual or entity
> named above. If the reader of this message is not the intended recipient,
> or the employee or agent responsible to deliver it to the intended
> recipient, you are hereby notified that any dissemination, distribution o=
r
> copying of this communication is strictly prohibited. If you have receive=
d
> this communications in error, please immediately notify us by telephone
> (330-668-5000), and destroy the original message. Thank you.
>

--00000000000015013a060b1cb318
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:trebuche=
t ms,sans-serif;color:#660000">Thanks Bob, I&#39;ll give that a try...<br><=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Fri, Nov 24, 2023 at 9:41=E2=80=AFPM Jarvis, Bob &lt;<a href=3D"mai=
lto:[email protected]">[email protected]</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=
=3D"msg-222018180113460980">



<div lang=3D"EN-US" style=3D"overflow-wrap: break-word;"><br>
    <br>
   =20
<div class=3D"m_-222018180113460980WordSection1">
<p class=3D"MsoNormal">FWIW I started encountering performance issues gener=
ally in jEdit when my employer forced a switch from the Oracle-compiled ver=
sion of Java we had been using for years (8.x) to Microsoft=E2=80=99s Java =
package (17.0.7). I believe that what I was
 seeing was stop-the-world garbage collection pauses, which we didn=E2=80=
=99t have issues with when using the Oracle 8.x build, and which I haven=E2=
=80=99t seen when running OpenJdk 21 at home under Linux. Since the version=
 of jedit.exe I have won=E2=80=99t run on any major version
 of Java which is not 8 and I=E2=80=99m prohibited by corporate information=
 security policy from installing any other version of jedit.exe, I switched=
 to starting jEdit from a command-line command, as follows:<u></u><u></u></=
p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal" style=3D"text-indent:0.5in"><span style=3D"font-size=
:9pt;font-family:&quot;Courier New&quot;">cmd /C start &quot;&quot; javaw -=
XX:InitialHeapSize=3D2G -XX:MaxHeapSize=3D5g -XX:+UnlockExperimentalVMOptio=
ns -XX:+UseZGC -jar &quot;C:\Program Files\jEdit\jEdit.jar&quot;<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I don=E2=80=99t know if it was the change to using t=
he <a href=3D"https://docs.oracle.com/en/java/javase/17/gctuning/z-garbage-=
collector.html#GUID-8637B158-4F35-4E2D-8E7B-9DAEF15BB3CD" target=3D"_blank"=
>
ZGC garbage collector</a> that seems to have improved the situation or whet=
her it was forcing an InitialHeapSize of 2 gigabytes, but in any case it se=
ems to be hanging up less. You might give the ZGC garbage collector a try.<=
u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;b=
order-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> James &lt;<a href=3D"mailto:geniosity@g=
mail.com" target=3D"_blank">[email protected]</a>&gt; <br>
<b>Sent:</b> Tuesday, November 21, 2023 7:27 AM<br>
<b>To:</b> jedit-users &lt;<a href=3D"mailto:[email protected].=
net" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Subject:</b> [ jEdit-users ] Hypersearch Hanging<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" width=3D"100%" styl=
e=3D"width:100%;background:rgb(255,234,175);border-collapse:collapse">
<tbody>
<tr>
<td width=3D"100%" style=3D"width:100%;padding:0.75pt">
<p class=3D"MsoNormal"><strong><span style=3D"font-family:&quot;Calibri&quo=
t;,sans-serif;color:red">CAUTION:</span></strong><span style=3D"color:black=
"> This external email was sent to you by
</span><strong><u><span style=3D"font-family:&quot;Calibri&quot;,sans-serif=
;color:rgb(51,102,255)"><a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a></span></u></strong><span style=3D"color:black=
">. Do not click links or open attachments unless you trust the sender and
 know the content is safe.</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><span=
 style=3D"font-family:&quot;Trebuchet MS&quot;,sans-serif;color:rgb(102,0,0=
)">
<hr size=3D"2" width=3D"100%" align=3D"center">
</span></div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">Hi<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">I&#39;ve got a recent issue that I&#39;m str=
uggling to figure out.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">Hypersearch has worked nicely for me for the=
 last 20 years, and then a month or so ago jEdit has started hanging with e=
very single hypersearch I do.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">And, thanks to muscle memory, I&#39;m force =
closing jEdit often now.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">Could you perhaps give me some guidance in h=
ow to debug this? I had the Activity Log tab open and the last line that wa=
s shown as the program hung was:<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">&quot;HyperSearchRequest: 18 OCCURENCES&quot=
;<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">So it&#39;s found the items but the window i=
s hanging and does not return.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">I&#39;m using Windows 11 with MS Java 17.0.6=
<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">Thanks in advance.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)"><u></u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot;,=
sans-serif;color:rgb(102,0,0)">James<u></u><u></u></span></p>
</div>
</div>
</div>



    <br>
    <br>

The information contained in this e-mail message is privileged and/or
confidential and is intended only for the use of the individual or entity
named above.  If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communications in error, please immediately
notify us by telephone (330-668-5000), and destroy the original
message.  Thank you.
   =20
</div>
</div></blockquote></div>

--00000000000015013a060b1cb318--


--===============4829432524064167270==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4829432524064167270==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users

--===============4829432524064167270==--