title: What is the max. capacity of byte-Array?
body: <p>I made a JavaClass which is making addition, sub, mult. etc.</p>
  
  <p>And the numbers are like (155^199 [+,-,<em>,/] 555^669 [+,-,</em>,/] ..... [+,-,*,/] x^n);</p>
  
  <p>each number is stored in Byte-Array and byte-Array can contain max. 66.442 </p>
  
  <p>example:</p>
  
  <p>(byte) array = <strong>[1][0] + [9][0] = [1][0][0]</strong></p>
  
  <p>(byte) array = <strong>[9][0] * [9][0] = [1][8][0][0]</strong></p>
  
  <p>My Class file is not working if the number is bigger then (example: 999^999)</p>
  
  <p>How i can solve this problem to make addition between much bigger numbers?</p>
  
  <p>When the byte-Array reachs the 66.443 values, VM gives this error:</p>
  
  <p><strong>Caused by: java.lang.ClassNotFoundException</strong>. which is actually not the correct error-description.</p>
  
  <p>well it means, if i have a byte-array with 66.443 values, the class cannot read correctly.</p>
  
  <p><strong>Solved:</strong>
  Used multidimensional-Byte Array to solve this problem.</p>
  
  <p><strong>array{array, ... nth-array}  [+, -, /]  nth-array{array, ... nth-array}</strong></p>
  
  <p>only few seconds to make an addition between big numbers.</p>
  
  <p>Thank you!</p>