The MyMethodInterceptor intercepts the finalize method. This causes the ThreadLocal in GenerateQuery class to have a huge "alize.alize.alize... " consuming a lot of heap space.
The usage example is to create a proxy object using GenerateQuery.createQueryEntity(Customer.class)