[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Running Core Tests in Eclipse 4.2

I experience the same problem of more or less randomly failing tests
with Eclipse 4.2 under Linux (ubuntu) with both java1.6 and java1.7.
Especially the CDescriptorTests cause some failures (about 2-6 each
run). They also cause errors (ArrayIndexOutOfBoundException). Sometimes
they also run all green.

I'm not sure how to proceed here, since spuriously failing tests is
hindering when developing.


On Mit, 2012-07-04 at 05:57 +0000, Corbat Thomas (tcorbat@xxxxxx) wrote:
> Thanks for that hint. It indeed worked. I expected the perm size to
> grow with the maximum memory, which of course was not the case. After
> increasing the perm size the OutOfMemoryError didn't occur anymore.
> Unfortunately, after about 1000-1300 tests the JVM (JDK6_24) crashed.
> Switching to a JDK7 solved that issue as well.
> 
>  
> 
> Now I just have 3-5 tests failing sometimes. Especially
> testAccumulatingBlankLinesInProjectData, testDescriptorCreation and
> testProjectDataDelete of CDescriptorTests, as well as testDeref of
> ResourceLookupTests. It's hard to reproduce, as for example if I run
> the CDescriptorTests alone they are all green. 
> 
>  
> 
> Is anyone experiencing that problem as well?
> 
>  
> 
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Sergey Prigogin
> Sent: Montag, 2. Juli 2012 19:46
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Running Core Tests in Eclipse 4.2
> 
> 
>  
> 
>  
> 
> On Mon, Jul 2, 2012 at 10:45 AM, Sergey Prigogin
> <eclipse.sprigogin@xxxxxxxxx> wrote:
> 
>  
> 
> On Mon, Jul 2, 2012 at 5:39 AM, Corbat Thomas (tcorbat@xxxxxx)
> <tcorbat@xxxxxx> wrote:
> 
> Hi
> 
>  
> 
> I've got a question about running the core tests on Windows and
> Eclipse 4.2. I have the following setup:
> 
> - Windows 7 64bit
> 
> - Eclipse Juno 4.2 (RCP)
> 
> - CDT (Tag 8_1_0) checked out into my workspace
> 
> - JDK 1.6.0_24
> 
>  
> 
> When I try to run the AutomatedIntegrationSuite from
> org.eclipse.cdt.core.tests, the tests happen to throw errors
> (java.lang.OutOfMemoryError: PermGen space). I've tried to run those
> tests with 8GB RAM assigned to the JVM, without success. I can run the
> same tests (from the same workspace) in an Eclipse Classic 3.8
> environment, getting a green bar. The problems I observe in 4.2 are
> not deterministic, they start arising after 30 to 200 executed tests.
> 
> Is there anything I have to consider in addition when I run those
> tests in Eclipse 4.2 on Windows?
> 
> 
>  
> 
> 
> Have tried increasing permgen space, e.g. -XX:MaxPermSize=128M?
> 
> 
>  
> 
> 
> I meant: Have you tried increasing permgen space,
> e.g. -XX:MaxPermSize=128M?
> 
> 
>                  
>                 
>                 Regards
>                 
>                 Thomas
>                 
>                 
>          
>         
>         
>         -sergey 
>         
>         
>                 
>                 _______________________________________________
>                 cdt-dev mailing list
>                 cdt-dev@xxxxxxxxxxx
>                 https://dev.eclipse.org/mailman/listinfo/cdt-dev
>                 
>          
>         
>  
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev