Loïc Mathieu

Results 190 comments of Loïc Mathieu

Tomcat has a lot of memory leak protections since version 7: https://cwiki.apache.org/confluence/display/TOMCAT/MemoryLeakProtection Maybe we can create multiple memory leak detection based on those examples. This could be a very cool...

OffHeap is a complex area as there is a lot of different offheap memory pool: - metaspace - code space - direct memory - thread stack - ... (I'm pretty...

OK, so byte allocations on off-heap is a good thing. And don't forget about the `@ExpectedOffHeapAllocation` annotation :) And I think also that Metaspace and RSS measurement should be good...

I have a better understanding on what's going on here. Quarkus uses Vert.x and all I/O are done via a worker thread. The `SqlRecorderRegistry` is called inside the main thread...

> Could you please test by adding @HeapSize on Quarkus tests? I can't as forking the VM didn't work for Quarkus because we fork too late. If I remove the...

@jeanbisutti as `QuarkusTestExtension` implements `BeforeAllCallback` and `AfterAllCallback`, you need to use a static attribute when using the extension with ` @RegisterExtension`. ``` @RegisterExtension static Extension quarkusTestExtension = new QuarkusTestExtension(); ```...

@jeanbisutti can you try with Quarkus 1.7.0 ? And if you can share your code in a branch I'll be able to work on it more easily

So you need to defines the annotation as a static attribute and upgrade to 1.7.0.Final: ``` @RegisterExtension static Extension quarkusTestExtension = buildQuarkusExtensionInNewJVM(); private static Extension buildQuarkusExtensionInNewJVM() { if(SystemProperties.TEST_CODE_EXECUTING_IN_NEW_JVM.evaluate()) { System.out.println("Using...

It's a tricky issue, we must register the extension with the `QuarkusTestExtension` type not the `Extension` type.

I was trying exactly the same a few hours ago ;) and didn't succeed either. I'll try to find what's going on because this seems to me that it should...