Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bigAssString = ""
- while ( bigAssString.length < 50000 )
- bigAssString += "bigAssString";
- n = 0;
- while ( true ){
- db.my32bittest.insert( { x : n++ , bigAssString : bigAssString } );
- if ( ( n % 250 ) == 0 ){
- e = db.getLastError();
- if ( e ){
- print( e );
- break;
- }
- print( n + "\t" + Math.floor( db.my32bittest.stats().size / 1000000 ) + " mb" );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement