Peter Pilgrim

Results 9 comments of Peter Pilgrim

Try forcing the pages to 480 width. ``` document.cookie='resolution=480'; path=/'; ``` Clear the cache in the mobile devices and try again. Clear website data on iPhone and Android clear the...

Thanks for that idea. `System.gc()` worth a punt!

I put in a scheduled executor like this ``` final ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); executorService.scheduleAtFixedRate( ()-> { System.out.println("Execute System.gc()"); System.gc(); }, 60, 5, TimeUnit.SECONDS); ``` I don't see any `jvm_gc_pause*`...

Sorry it would help if I provided evidence: ``` # HELP jvm_threads_states_threads The current number of threads having NEW state # TYPE jvm_threads_states_threads gauge jvm_threads_states_threads{state="runnable",} 42.0 jvm_threads_states_threads{state="blocked",} 0.0 jvm_threads_states_threads{state="waiting",} 53.0...

I can't give you the application. I can tell you our environment ``` ❯ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM...

I don't see anything like `GC Notifications will not be available` at all in the logs. ``` /Users/m_agicuser/.sdkman/candidates/java/11.0.11.hs-adpt/bin/java -Dcatalina.base=/Users/m_agicuser/Projects/ACME/ned/ACME-analytics-tool-liferay/bundles/liferay-ce-portal-7.3.0-ga1/tomcat-9.0.17 -Dcatalina.home=/Users/m_agicuser/Projects/ACME/ned/ACME-analytics-tool-liferay/bundles/liferay-ce-portal-7.3.0-ga1/tomcat-9.0.17 -Dfile.encoding=UTF8 -Djava.io.tmpdir=/Users/m_agicuser/Projects/ACME/ned/ACME-analytics-tool-liferay/bundles/liferay-ce-portal-7.3.0-ga1/tomcat-9.0.17/temp -Djava.net.preferIPv4Stack=true -Djava.util.logging.config.file=/Users/m_agicuser/Projects/ACME/ned/ACME-analytics-tool-liferay/bundles/liferay-ce-portal-7.3.0-ga1/tomcat-9.0.17/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx2560m -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=127.0.0.1...

This is a liferay application. It is proprietary, so for us it definitely the wrong approach. What I need a sample JMX example that I can run inside my application?...

Ok ok. I will take a look at this. I might be awhile ...

I ran this version on my local MBP with OpenJDK Temurin ``` 11.0.14 | tem | local only | 11.0.14-tem ``` My version of the program is: ```java package uk.co.xenonique.client.investigation;...