title: Google App-Engine Java Batch Update
body: <p>I need to upload a .csv file and save the records in bigtable. 
  My application successfully parse 200 records in the csv files and save to table. </p>
  
  <p>Here is my code to save the data.</p>
  
  <pre><code>for (int i=0;i&lt;lines.length -1;i++) //lines hold total records in csv file
  {
     String line = lines[i]; 
  
     //The record have 3 columns integer,integer,Text 
  
     if(line.length() &gt; 15)
     {
   int n = line.indexOf(",");
  
   if (n&gt;0)
   {
    int ID = lInteger.parseInt(ine.substring(0,n));
    int n1 = line.indexOf(",", n + 2);
  
    if(n1 &gt; n)
    {
       int Col1 = Integer.parseInt(line.substring(n + 1, n1));
       String Col2 = line.substring(n1 + 1);
  
       myTable uu = new myTable();
  
       uu.setId(ID);
       uu.setCol1(MobNo);
  
       Text t = new Text(Col2);         
       uu.setCol2(t);
  
         PersistenceManager pm = PMF.get().getPersistenceManager();
              pm.makePersistent(uu);             
       pm.close();
    }
      }
      }
  }
  </code></pre>
  
  <p>But when no of records grow it gives timeout error.</p>
  
  <p>The csv file may have upto 800 records. 
  Is it possible to do that in App-Engine?</p>
  
  <p>(something like batch update)</p>