[RTFACT-17923] Browsing cocoapods remote cache in UI causes Artifactory to shut down Created: 01/Dec/18  Updated: 02/Oct/19  Resolved: 02/Oct/19

Status: Resolved
Project: Artifactory Binary Repository
Component/s: CocoaPods
Affects Version/s: 6.5.8
Fix Version/s: 6.13.0

Type: Bug Priority: High
Reporter: Sankar Kumar Assignee: Alexei Vainshtein
Resolution: Fixed Votes: 0
Labels: QF, QF-P2

Attachments: PNG File Screenshot 2018-12-01 at 9.45.42 PM.png    
Assigned QA: Alex Dvorkin
Sprint: Pom - quality September sprint

 Description   

When browsing Artifactory's cocoapods-remote-cache, a user can cause the Artifactory instance to shut down.

 To reproduce: From the Artifacts Repository Browser -> Click "cocoapods-remote-cache" -> click ".specs" -> click "master.tar.gz"

It doesn't take long from there before the server shuts down.



 Comments   
Comment by Aviv Blonder [ 03/Dec/18 ]

This is the output in artifactory.log

#
# java.lang.OutOfMemoryError: Java heap space
# -XX:OnOutOfMemoryError="kill -9 %p"
#   Executing "kill -9 44799"...
artifactory.sh: line 135: 44799 Killed: 9               $TOMCAT_HOME/bin/catalina.sh run
Generated at Sun Mar 29 00:33:06 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.