Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8690601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:56:10+00:00 2026-06-12T23:56:10+00:00

I have two nodes on two different, identical Virtual Machines — both identical CentOS

  • 0

I have two nodes on two different, identical Virtual Machines — both identical CentOS 64 bit, same amount of RAM, CPUs, etc.

I have mnesia clustered on those two nodes — very vinalla, non-fragmented cluster

Node 1 shows the following

 {size,[{ttl,0,283},
        {scope_to_keys,5,97105},
        {type_to_keys,3,97043},
        {key_to_value,6015,393137},
        {schema,5,935}]}

Node 2 shows

 {size,[{ttl,0,300},
        {scope_to_keys,5,97122},
        {type_to_keys,3,97060},
        {key_to_value,6015,405184},
        {schema,5,952}]}

The tuple structure is {table_name, records, words}.

  • mnesia:info() reports that exact same numbers as above when run on each node.
  • The tables are all ram-copies
  • No transactions are on going — no action for hours
  • mnesia:info() also reports:
    33 transactions committed, 0 aborted, 9 restarted, 0 logged to disc
    0 held locks, 0 in queue; 0 local transactions, 0 remote
    0 transactions waits for other nodes: []

Is it normal that the two nodes report different memory used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:56:11+00:00Added an answer on June 12, 2026 at 11:56 pm

    What you should do is to ask the two nodes if the table contents are the same or not. Mnesia and Erlang in general collects garbage. Hence the actual use of memory in some cases might be different. Also note that it may be that one of the nodes are currently doing some maintenance work / being a leader and so on. This will make the memory be a bit different. Finally, the two nodes may be storing sub-binaries where the original binary is kept around. But when replicating, the sub-binary is cut down and copied to the other node. This accounts for a small discrepancy perhaps.

    Unless there is a significant different in size. That is, one node uses something like 33% more memory, then I wouldn’t worry too much.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two elements src and dest src and dest are in different DOM-nodes,
I have two Nodes node1 and nod2 which have different parent documents, now I
Thanks for valuable replies. I have two node having same name with different data.
I have two data objects stored on different nodes in the dom ie $('node1').data('id','1');
I have two erlang nodes running in two different computers, in one node I
is it possible to have different colored tree lines between two sibling nodes? I
I have several nodes (undirected graph, bidirecional) ... Each two nodes have a distance...
I have two tree, which contains nodes, after I've created them, I take all
So I have two tables structured like so: CREATE TABLE #nodes(node int NOT NULL);
I have to make an uninformed search (Breadth-first-Search) program which takes two nodes and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.