Angular Observables and recursive requests with Progress bar takes large browser memory
0
I tried to upload a bunch of files through one by one (one request over another) through Observables and recursive requests, but it consumes very large RAM memory and even completes also its not releasing the memory. My Sample code (Contains only core logical method instead of full component) PersonInfo Interface: interface PersonInfo { personId: number; name: string: email: string; resume: File; progress: number; isUpload: boolean; } PersonInfo Component Code: uploadPersonInfo() { const uploadCollection: Array<PersonInfo> = [ { personId: 1, name: "Ram", email: "ram@example.com", resume: fileCollection[0], progress: 0, isUpload: false }, { personId: 2, name: "Kumar", email: "kumar@example.com", resume: fileCo...