[
https://issues.jboss.org/browse/JGRP-1394?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1394:
--------------------------------
Example: RetransmitTable (used by NakReceoverWindow) uses a matrix:
Message[][] matrix
Because each rom in the matrix array is another array, which uses ref + object overhead (8
bytes) + length (4 bytes), we could look into using only an array rather than a matrix.
Reduce memory used by data structures
-------------------------------------
Key: JGRP-1394
URL:
https://issues.jboss.org/browse/JGRP-1394
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.2
Some protocols maintain data structures, usually one per cluster member. For example,
NAKACK has a hashmap of members and their associated NakreceiverWindows. Each NRW has a
RetransmitTable and a Retransmitter.
Another example is STABLE.
Look at those data structures and try to reduce their memory footprint. This may not be
important for small clusters, but becomes important in large clusters. E.g if we have 1000
cluster nodes, then every data structure's memory footprint is multiplied by 1000 !
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira