# Gantt software started lagging while using Apple M1

**URL:** <https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536>\
**Category:** GanttProject Desktop Support\
**Created:** [February 10, 2021, 11:51am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536 "2021-02-10T11:51:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [February 10, 2021, 11:51am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/1 "2021-02-10T11:51:34Z")

</div>

Hello, recently i changed my laptom from older macbook pro to new macbook pro M1. After this change gantt project software started lagging and i cannot use it like i used to it.

Any ideas how to solve this? i dont want to change software cause i have implemented big gantt charts…

Please help!

Vytas

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [February 10, 2021, 1:30pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/2 "2021-02-10T13:30:46Z")

</div>

Currently most of Java Runtimes do not support M1 natively and run with the help of Rosetta. As to the best of my knowledge, there are indeed issues in such environment.

Unfortunately at the moment there is no JRE with JavaFX which would run on M1. Java FX is heavily used in the new GanttProject 3.0, so it means that GP 3.0 is not yet the best friend of M1 and the only option is this [Azul Zulu runtime](https://www.azul.com/downloads/zulu-community/?version=java-11-lts&os=macos&architecture=arm-64-bit) and ZIP archive distro of GP 2.8.11.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [February 12, 2021, 11:57am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/4 "2021-02-12T11:57:31Z")

</div>

Made this topic public on February 12, 2021, 11:57am UTC



---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [February 24, 2021, 1:28pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/5 "2021-02-24T13:28:27Z")

</div>

Hi,

I installed Azul zulu 11.45.27, but no help GP3 and GP2 is still lagging. If i zoom out my project then it is running ok (i can use it properly), but if i zoom in it starts lagging heavily and its hard to use. Is there any work around I could try?

Thanks

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [February 24, 2021, 1:54pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/6 "2021-02-24T13:54:24Z")

</div>

Can you please share the project file? Maybe it is not M1 which is the issue.

---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [February 24, 2021, 4:07pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/7 "2021-02-24T16:07:13Z")

</div>

[laging project.gan](https://help.ganttproject.biz/uploads/short-url/7jVADg9ZmFxMlk3U6V8Ucr50JiL.gan) (18.9 KB)

This is the one. As i said, when zoom’ed out seems ok, but when i zoom in gantt, than lagg starts. Thanks!

---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [March 1, 2021, 7:04am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/8 "2021-03-01T07:04:01Z")

</div>

Do you have any kind of update?

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [March 1, 2021, 1:22pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/9 "2021-03-01T13:22:03Z")

</div>

I tried playing with this file on my Linux and it was okay, so most likely the issue is either with JRE+M1 or with something else on your Mac environment.

---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [March 5, 2021, 7:04am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/10 "2021-03-05T07:04:34Z")

</div>

I noticed that on my second screen it works great, but one my main laptop screen it does not… I have a video, but I cannot attach it here…

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [March 10, 2021, 10:46pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/11 "2021-03-10T22:46:21Z")

</div>

You can upload a video on YouTube or ZIP it and attach the archive here.

---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [March 29, 2021, 6:08am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/12 "2021-03-29T06:08:40Z")

</div>

Hello there,

I attached the video to wetransfer.

> **[WeTransfer | Send Large Files Fast - Up To 2GB Free](https://wetransfer.com/downloads/3d9906de0c71d72e8e28f0dbcf9c71e920210329060715/5e97cf)**
>
> The simple, quick and secure way to send your files around the world without an account. Share your files, photos, and videos today for free.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [March 29, 2021, 12:31pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/13 "2021-03-29T12:31:29Z")

</div>

What happens if you scroll using navigation buttons above the chart, “Past” and “Future”? Is the behavior the same?

---

<div class="post-metadata">

**Author:** ![vytautas.zelvys](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/vytautas.zelvys/32/1000_2.png) [@vytautas.zelvys](https://help.ganttproject.biz/u/vytautas.zelvys)\
**Post date:** [March 31, 2021, 5:49pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/14 "2021-03-31T17:49:07Z")

</div>

Yes, it acts the same.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [May 17, 2021, 1:16pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/15 "2021-05-17T13:16:36Z")

</div>

It seems that there is [BellSoft Liberica Java 11 Runtime with JavaFX for M1](https://bell-sw.com/announcements/2021/03/12/Liberica-on-Apple-Silicon/). You can try installing it and running GanttProject ZIP distro.

---

<div class="post-metadata">

**Author:** ![dloeckx](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dloeckx/32/2519_2.png) [@dloeckx](https://help.ganttproject.biz/u/dloeckx)\
**Post date:** [July 1, 2022, 7:22am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/16 "2022-07-01T07:22:31Z")

</div>

I also have performance issues with GanttProject on my Apple M1. Unfortunately, using BellSoft’s JRE doesn’t seem to change much.

I did the following:

- Download BellSoft’s Full JRE for macOS ARM 64 bit from [https://download.bell-sw.com/java/11.0.15.1+2/bellsoft-jre11.0.15.1+2-macos-aarch64-full.zip](https://download.bell-sw.com/java/11.0.15.1+2/bellsoft-jre11.0.15.1+2-macos-aarch64-full.zip) and unzipped it to `./jre-11.0.15.1-full.jre`
- Download GanntProject’s zip from [GanttProject - Download](https://www.ganttproject.biz/download/gp30#zip) and unzipped it to `./ganttproject-3.2.3240`
- Opened command window and ran `./ganttproject-3.2.3240/ganttproject.command --java-home ./jre-11.0.15.1-full.jre`

After this, in the _Activity Monitor_ I can confirm that GanttProject now runs on ‘Apple’ instead of ‘Intel’ (column ‘Kind’). However, as mentioned above, with similar performance as before.

Some notes:

- Performance seems to have improved upgrading to 3.2.3240.
- First time you might need to go to _System Preferences_, _Security & Privacy_ to allow java to run.
- I get one error when starting (printed to the console): `InteropFactory: cannot load com.sun.javafx.embed.swing.newimpl.InteropFactoryN`, not sure if this matters.
- Poor performance means, on the default ‘House Building’ project, that sometimes it takes 2-3 seconds when I click for the open hand to become closed (to scroll left/right), I regularly get the colour wheel, and some actions that I would assume easy take several seconds. On a more complex project, things get worse.
- See [Download OpenJDK builds of Liberica JDK, Java 8, 11, 17, 18 | BellSoft Java](https://bell-sw.com/pages/downloads/#/java-11-lts) for all BellSoft’s options.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 1, 2022, 7:43am UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/17 "2022-07-01T07:43:23Z")

</div>

Can you please send signal QUIT to java process while GanttProject is thinking (with kill -3 [process id])? It will print a lot of stuff to the console, please send it to me. It is better to send QUIT a few times. I think you can redirect the console output to a file with `tee` command.

---

<div class="post-metadata">

**Author:** ![stuts](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/s/f475e1/32.png) [@stuts](https://help.ganttproject.biz/u/stuts)\
**Post date:** [July 4, 2022, 4:13pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/18 "2022-07-04T16:13:03Z")

</div>

Hi @DmitryBarashev

I’ve followed the steps @dloeckx mentioned to see if I had the same issue. I can confirm that it also runs natively (as can be seen in the Kind column of Activity Monitor) and the lagging issues persist.

I sent the kill signal to the Java process as you mentioned and have attached the debug output. Hope this helps!

[ganttproject-java-kill-out-mac-m1.txt](https://help.ganttproject.biz/uploads/short-url/6HBzcENbejKyqhurri5KkwhFpUE.txt) (30.7 KB)

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 5, 2022, 9:22pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/19 "2022-07-05T21:22:46Z")

</div>

Thanks. Was it produced when GanttProject was thinking?  
Also, did you notice high CPU usage?

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 5, 2022, 9:38pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/20 "2022-07-05T21:38:53Z")

</div>

also, can you please try running GP with Java 17 runtime, as described in this post?

> [@GP 3.2 is laggy on M1Pro MBP](https://help.ganttproject.biz/t/gp-3-2-is-laggy-on-m1pro-mbp/5190):
>
> GP 3.2, M1 Pro MBP, macOS Monterey 12.4 latest dmg + native jre is so far best. Re-downloaded dmg and replace the app, which results similar to 4) but in a x86 jre. (task monitor shows kind=intel) It seems 3.2.3244 (live upgraded from 3.2.240) bundled x86 jre, super laggy. Especially when regaining focus by clicking on a task, it takes about 6~7 seconds to highlight that task. Page up/down takes 3~4 seconds. To use a native jre (kind=apple) like following works way far better, though…

---

<div class="post-metadata">

**Author:** ![stuts](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/s/f475e1/32.png) [@stuts](https://help.ganttproject.biz/u/stuts)\
**Post date:** [July 12, 2022, 1:04pm UTC](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536/21 "2022-07-12T13:04:42Z")

</div>

I’m not sure what defines “thinking” here but when trying to scroll left & right in a project that has 9 items in I see the CPU usage go from 44% to over 100%. Scrolling left & right works without any lag in an empty project if that helps.

I tested the above with both Java 11 and Java 17 and see similar CPU usage spikes.

Let me know if there’s anything more I can provide to help diagnose these issues

[Next page](https://help.ganttproject.biz/t/gantt-software-started-lagging-while-using-apple-m1/2536.md?page=2)
