I have just verified with the Apache developer channel. apr_initialize is needed for any block of code that you want to work with a clean memory heap for the apr calls. This is preferred when working with the hash functions. The only requirement is each initialize must have a terminate to go with it when working with the memory heap is complete.