1. A method comprising: utilizing a processor to execute computer code configured to perform the steps of: accepting data for thread local storage; monitoring memory usage in thread local storage; and allocating to thread local storage a memory block for storing accepted data, based on the monitored memory usage.