A web application's memory optimization attempt revealed disappointing results. Despite using JVM arguments '-XX:+UseG1GC' and '-XX:+UseStringDeduplication', no reduction in memory usage was observed. The application's short-lived string objects led to negligible duplicate strings being eliminated, highlighting the need for code refactoring to prevent duplicate string creation and improve memory efficiency.