RestComm / jain-sip

Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.
http://www.restcomm.com/
141 stars 151 forks source link

make SIPMessage hierarchy lighter in terms of memory #82

Open jaimecasero opened 8 years ago

jaimecasero commented 8 years ago

Current SIPMessage implementation makes object too long compared with original message. To reduce memory consumption is key to have a very light message structure, so living requests do not consume much memory, and GC is not stressed too much.

This could potentially save memory and cpu, by alleviating GC pressure