title: How to fix shinyapp error which is taking too long to startup?
body: <p>My shiny app works fine locally, but when I deploy it on the server (<a href="https://vermaph.shinyapps.io/nypd_crimes_2006-2016/" rel="nofollow noreferrer">this app</a>), it's fetching following error:</p>
  
  <p><a href="https://i.stack.imgur.com/SitSX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SitSX.jpg" alt="enter image description here"></a></p>
  
  <p>I looked at the logs and it says "out of memory". </p>
  
  <p><a href="https://i.stack.imgur.com/QTwM0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QTwM0.jpg" alt="enter image description here"></a></p>
  
  <p>I checked that shiny allows memory usage up to 1 GB for free accounts.</p>
  
  <p><a href="https://i.stack.imgur.com/kHRJd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kHRJd.jpg" alt="enter image description here"></a></p>
  
  <p>But when I looked at my app's memory usage it's hardly touching even 500 MB.</p>
  
  <p><a href="https://i.stack.imgur.com/FVkZq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FVkZq.jpg" alt="enter image description here"></a></p>
  
  <p>I admit that the CSV file which I am trying to access is of 1.3 GB, possibly can be the culprit. </p>
  
  <p>But I am not convinced because often the good data for analysis are large and doesn't limit to size 2 or 50 MB.</p>
  
  <p>Kindly requesting some expert advice and if possible a workaround. </p>