title: What is the per-record size limit of indexedDB?
body: <p>I am building a file storage for HTML5, and I am using indexedDB as the storage, I ask the files from the server via xmlHttpRequest with the response type as arrayBuffer (for chrome) and blob (for other browsers).</p>
  
  <p>Everything is fine even if the files-collection size is 500MB or more, (hey, it can even reach GB). But I noticed something strange when I add the file to the indexedDB, it will trigger error when the <strong>single</strong> file exceeds ~120MB, so it is not stored. But when the file is less than 120MB, it will store it.</p>
  
  <p>Notice that it will only have this error when storing a single file > 120MB, for example, an .mp4 file of 200MB will trigger an error, but if I have 5 videos with each of them have a size of 100MB (so the total will be 500MB) it will be all fine.</p>
  
  <p>I would like to know whether this is a limit-rule or some glitch and the two have the same error. I didn't find any documentation about it. I tested it in IE and Chrome.</p>
  
  <p><strong>EDIT:</strong>
  Ok, I got this error apparently in the add or put function of indexedDB when storing the file:</p>
  
  <p>inside the e.target.error.message:</p>
  
  <p>The serialized value is too large (size=140989466 bytes, max=133169152 bytes)</p>