You need to sign in to do that
Don't have an account?
Balaram Nair 13
Challenge Not yet complete... here's what's wrong: There was an unexpected error in your org which is preventing this assessment check from completing: System.LimitException: Apex heap size too large: 37522619
When testing a basic apex class challenge I get this error. Any help will be appreciated.
your code may contain infinite loop or it keeps on triggering database.
public class StringArrayTest {
public static List<String> generateStringArray (integer iNum) {
List<String> str = new List<String>();
for (Integer i=0; i<iNum; i+1) {
str.add('Test '+i);
system.debug('Test '+i);
}
return str;
}
}
that is weird. your code is fine. it seems it is not the one causing the problem.
try this: