분류 전체보기23 사람은 항상 겸손해야 한다. 겸손을 모르는 사람은 대부분 겸손을 몰라도 되는 정도의 사람이 아니다. 겸손해야되는데 본인의 부족한 부분을 알지 못하거나 드러내는걸 싫어하는 사람일 뿐인다. 때문에 항상 겸손해야 한다. 2024. 11. 12. ec2에서 build 시 gradle HeapDumpOnOutOfMemoryError local 에서 잘만되던 build 가 ec2에서 안되는 현상 발생.. 빌드만 무려 40분까지 걸리고.. 이게 해결 방법이 한가지만 적용한다고 해서 되는것이 아니였다... 아래 4가지 방법을 진행하면 무조건 빨리진다 개선 후 현재 2분컷! 1. gradle properties 설정 변경 https://stackoverflow.com/questions/59284741/out-of-memory-error-while-running-gradlew-assemblerelease-react-native Out of memory error while running gradlew assembleRelease - react-native I am getting this error while making a release b.. 2022. 8. 9. ec2서버에서 s3 이미지 업로드 시 permission denied 해결 방법 java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at com.common.util.file.FileUtil.convert(FileUtil.java:17) 무중단 배포 적용 후 수동 테스트에서 이미지 업로드가 안되는 오류가 있었다. - local 에서도 정상, 자동 배포가 아닌 수동 배포에서도 정상 - 처음엔 permission denied 처럼 s3 버킷의 권한이나 iam role의 권한 문제 인줄 알고 이번 프로젝트의 최대 멍멍이 삽집을 했다. (3일 걸림..) - 결론은, amazone .. 2022. 8. 9. s3 업로드 시 파일용량 제한 오류 해결 방법 1. 오류 1 - 오류내용 : s3 upload request entity too large - 해결방법 : nginx 설정 > client_max_body_size 10M; 추가해 준다. - 경로 : sudo vim /etc/nginx/nginx.conf http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; tcp_nopush on; tcp_nodelay on.. 2022. 8. 1. 이전 1 2 3 4 ··· 6 다음