How can I upload 10gb of file to sharepoint doc library?
In general you should't be storing documents of this size in SharePoint. A better approach would be to store it on a file share or FTP and simply link to the file from SharePoint.
You technically cannot store a file larger than 2 GB (2047 MB) to SharePoint. This is the maximum size. If you want to allow files up to 2 GB you'll need to increase the connection time-out in IIS and increase the maximum upload size for the web application. See SharePoint Large File Upload Configuration from (of all places) the TechNet SharePoint comic.