It's all about the answers!

Ask a question

Buildforge project tag limit


satish chandra (111921) | asked Nov 26 '14, 4:26 a.m.
Hi,

We are Rational Build Forge - 7.1.3.2.
When we creata a buildforge project, we can also provide the initial value. What is the maximum limit for value. How to check and can I provide a maxmimum value

One answer



permanent link
Ryan Ruscett (1.0k413) | answered Nov 26 '14, 9:19 a.m.
 Hello,

The BF_TAG variable is stored as a BYTE variable. Meaning is can use whole numbers from 0 to 255 and a byte is 8 bits. 

This should be plenty large. For example. The BF_TAG for the auto-increment BF_Build number. In order for the number to get that large. You would have to have thousands of builds of the same job. In Build Forge, this is not a good idea. That would mean you have not purged your jobs. Meaning all the data from the step logs is contained within the database. 

Even if you purge only partial amounts of the information via a purge class. You should never exceed a number 8 bits in length before completely removing the project. 

Each bit that is on as you can see below is a set character amount. So bit 8 is 128, 7 is 64 etc. All the way down to 1. Exceeding this would be in the thousands and you should not worry about hitting the maximum

1111 1111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255

Does that answer your question?
Thanks!

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.