Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
The input for the service is coming from reading a csv file. As per the data in the csv file the Things are created in Thingworx. I am trying to understand how much memory is being consumed in the process of creating multiple Thing objects form the above service.
You could try looking into a third party software, for example JavaMelody is free https://wiki.openmrs.org/display/docs/Monitoring+the+Performance+of+Your+Tomcat+Application+Server+Using+JavaMelody