Some performance numbers from a simple test

Thomas Sødring thomas.sodring at hioa.no
Fri Feb 3 23:37:27 CET 2017


Hi Petter,

I took a quick look and I see there is a thread called "File Watcher"
that is simply eating up memory and using CPU resources. It's part of
dev-tools that is meant to do some autoloading.

Removing this dependency from core-webapp pom.xml

 <dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-devtools</artifactId>
 </dependency>

stops this part from eating memory. When I reran there is a thread

RMI TCP Connection(1)-127.0.01, that is also consuming resources, albeit
at a slower rate! I will try and see what this is over the weekend!

 - Tom



On 02/03/2017 04:43 PM, Petter Reinholdtsen wrote:
> I wrote a simple script to import a short post journal I had laying
> around, and did some simple measurements.  I ran top and wrote down VIRT
> and RES values just after starting, and after the import was done.  The
> import script loaded 8333 journal entries with case (sak) = mappe, empty
> record/registrering and document title = dokumentbeskrivelse.
>
> The import took 3 minutes 35 seconds (ie 1/39 seconds per insert) and
> increased VIRT size by 281036 kilobytes (ie 34 kibibytes per insert).
> RES increased by 392454 kilobytes (ie 48 kibibytes per insert).
>
> I hope I am doing it wrong, as this was quite a lot more memory usage
> than expected. :)
>
> And using this naive approach will take 13 years to insert 20 million
> entries. :)
>
> Btw, is searching implemented?
>



More information about the nikita-noark mailing list